lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3175) speed up core tests
Date Sun, 05 Jun 2011 18:14:47 GMT


Robert Muir commented on LUCENE-3175:

here's some timings on my macbook... still some 'bad apples' i didn't notice on my faster
computer at all, but its better (using ant test-core -Dtests.seed=0:0)


Total time: 12 minutes 40 seconds


Total time: 7 minutes 37 seconds

> speed up core tests
> -------------------
>                 Key: LUCENE-3175
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Test
>            Reporter: Robert Muir
>             Fix For: 3.3, 4.0
>         Attachments: LUCENE-3175.patch
> Our core tests have gotten slower and slower, if you don't have a really fast computer
its probably frustrating.
> I think we should:
> 1. still have random parameters, but make the 'obscene' settings like SimpleText rarer...
we can always make them happen more on NIGHTLY
> 2. tests that make a lot of documents can conditionalize on NIGHTLY so that they are
still doing a reasonable test on ordinary runs e.g. numdocs = (NIGHTLY ? 10000 : 1000) * multiplier
> 3. refactor some of the slow huge classes with lots of tests like TestIW/TestIR, at least
pull out really slow methods like TestIR.testDiskFull into its own class. this gives better

This message is automatically generated by JIRA.
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message