lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-3175) speed up core tests
Date Tue, 28 Jun 2011 14:47:18 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-3175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Simon Willnauer updated LUCENE-3175:
------------------------------------

    Attachment: test-core_core_2_duo_2-53GHZ.rtf

Attached the output of ant test-core on my 2.53 GHZ Core 2 Duo MacBook Pro

the core tests are still like 6 to 8 min which is very long though. Not that I am complaining
about Roberts hard work!! thanks for that it made it way better than it used to be. but I
think there are still some test we can improve

> speed up core tests
> -------------------
>
>                 Key: LUCENE-3175
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3175
>             Project: Lucene - Java
>          Issue Type: Test
>            Reporter: Robert Muir
>             Fix For: 3.3, 4.0
>
>         Attachments: LUCENE-3175.patch, LUCENE-3175.patch, LUCENE-3175_2.patch, test-core_core_2_duo_2-53GHZ.rtf
>
>
> 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
parallelization.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message