[ 
https://issues.apache.org/jira/browse/LUCENE-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724720#action_12724720
 ] 

Johan Kindgren commented on LUCENE-1709:
----------------------------------------

I did a quick maven setup just to see the effects of running tests in parallel, 
and the result was a bit surprising. When running in parallel, it took about 
30-40 seconds less (~7.40minutes) than running in sequence (~8.10minutes).
Don't know if there would be a significant boost on a quad-core, my dual core 
had some idle time left when running with five threads.
Is it worth the development time and the complexity increase of the build?

> Parallelize Tests
> -----------------
>
>                 Key: LUCENE-1709
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1709
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>    Affects Versions: 2.4.1
>            Reporter: Jason Rutherglen
>             Fix For: 3.0
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> The Lucene tests can be parallelized to make for a faster testing system.  
> This task from ANT can be used: 
> http://ant.apache.org/manual/CoreTasks/parallel.html
> Previous discussion: 
> http://www.gossamer-threads.com/lists/lucene/java-dev/69669
> Notes from Mike M.:
> {quote}
> I'd love to see a clean solution here (the tests are embarrassingly
> parallelizable, and we all have machines with good concurrency these
> days)... I have a rather hacked up solution now, that uses
> "-Dtestpackage=XXX" to split the tests up.
> Ideally I would be able to say "use N threads" and it'd do the right
> thing... like the -j flag to make.
> {quote}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to