[ https://issues.apache.org/jira/browse/LUCENE-9157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17020382#comment-17020382 ]
Adrien Grand commented on LUCENE-9157: -------------------------------------- TestDocIdsWriter has some for loops that look like "for (int i = 0; i < atleast(X); i++)", we should compute the atLeast() up-front instead of in every loop? Otherwise +1, thanks for looking into making tests run faster! > test speedup for slowest tests > ------------------------------ > > Key: LUCENE-9157 > URL: https://issues.apache.org/jira/browse/LUCENE-9157 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Robert Muir > Priority: Major > Attachments: LUCENE-9157.patch > > > On a single cpu laptop it takes ~ 30 minutes to run {{ant test}}. > The number of tests is increasing: around 23,000 according to > https://people.apache.org/~mikemccand/lucenebench/antcleantest.html > But just a few tests dominate all the time. If we tone the worst offenders > down to be more reasonable, we can cut overall test time in half. > This doesn't fix all the really slow tests... just some of them. Mostly I > focused on ones taking double-digit seconds (that's REALLY SLOW) -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org