[ 
https://issues.apache.org/jira/browse/SOLR-10023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15834646#comment-15834646
 ] 

Dawid Weiss commented on SOLR-10023:
------------------------------------

Btw. some of the targets execute a number of times in that log file...
{code}
Target compile-solr-core: finished Mon Jan 23 08:13:04 EST 2017 (5309ms)
Target compile-solr-core: finished Mon Jan 23 08:13:09 EST 2017 (2714ms)
Target compile-solr-core: finished Mon Jan 23 08:13:16 EST 2017 (3144ms)
Target compile-solr-core: finished Mon Jan 23 08:13:58 EST 2017 (2223ms)
Target compile-solr-core: finished Mon Jan 23 08:13:58 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:14:04 EST 2017 (2719ms)
Target compile-solr-core: finished Mon Jan 23 08:14:05 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:14:10 EST 2017 (2604ms)
Target compile-solr-core: finished Mon Jan 23 08:14:10 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:14:15 EST 2017 (2404ms)
Target compile-solr-core: finished Mon Jan 23 08:14:16 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:14:21 EST 2017 (2578ms)
Target compile-solr-core: finished Mon Jan 23 08:14:21 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:14:23 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:14:28 EST 2017 (2058ms)
Target compile-solr-core: finished Mon Jan 23 08:14:28 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:14:33 EST 2017 (2196ms)
Target compile-solr-core: finished Mon Jan 23 08:14:33 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:14:37 EST 2017 (1767ms)
Target compile-solr-core: finished Mon Jan 23 08:14:38 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:14:42 EST 2017 (1950ms)
Target compile-solr-core: finished Mon Jan 23 08:14:43 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:14:46 EST 2017 (1827ms)
Target compile-solr-core: finished Mon Jan 23 08:14:48 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:14:50 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:14:52 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:14:54 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:14:56 EST 2017 (1ms)
Target compile-solr-core: finished Mon Jan 23 08:14:58 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:15:00 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:15:01 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:15:04 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:15:05 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:15:09 EST 2017 (2467ms)
Target compile-solr-core: finished Mon Jan 23 08:15:11 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:15:13 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:15:15 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:15:18 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:15:19 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:15:22 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:15:27 EST 2017 (2849ms)
Target compile-solr-core: finished Mon Jan 23 08:15:28 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:15:29 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:15:35 EST 2017 (2393ms)
Target compile-solr-core: finished Mon Jan 23 08:15:35 EST 2017 (0ms)
Target compile-solr-core: finished Mon Jan 23 08:15:40 EST 2017 (2081ms)
Target compile-solr-core: finished Mon Jan 23 08:15:40 EST 2017 (0ms) 
{code}

> Improve single unit test run time with ant.
> -------------------------------------------
>
>                 Key: SOLR-10023
>                 URL: https://issues.apache.org/jira/browse/SOLR-10023
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Tests
>            Reporter: Mark Miller
>         Attachments: stdout.tar.gz
>
>
> It seems to take 2 minutes and 45 seconds to run a single test with the 
> latest build design and the test itself is only 4 seconds. I've noticed this 
> for a long time, and it seems because ant is running through a billion 
> targets first. 
> I haven't checked yet, so maybe it's a Solr specific issue? I'll check with 
> Lucene and move this issue if necessary.
> There is hopefully something we can do to improve this though. At least we 
> should try and get some sharp minds to take first / second look. If I did not 
> use an IDE so much to run tests, this would drive me nuts.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to