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

Robert Muir commented on LUCENE-10473:
--------------------------------------

I'm not sure about BaseSpatialTestCase, but these methods account for 80% of 
the slowest tests:
* BaseRangeFieldQueryTestCase.testRandomBig()
* BaseGeoPointTestCase.testRandomBig() 
* BaseXYPointTestCase.testRandomBig()

Fixing these three java methods would translate into hours of saved cpu time in 
jenkins run / smoketest run.

> Address slow BaseSpatialTestCase#testRandomBig runs
> ---------------------------------------------------
>
>                 Key: LUCENE-10473
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10473
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Julie Tibshirani
>            Priority: Major
>
> While working on the 9.1 release, we noticed the smoke tester sometimes 
> taking several hours. It looks like some tests can take a really long time, 
> especially when "tests.multiplier" is increased:
> {code}
> The slowest tests (exceeding 500 ms) during this run:
>   3298.44s TestDoubleRangeFieldQueries.testRandomBig (:lucene:core)
>   2869.82s Test2BPostings.test (:lucene:core)
>   1951.74s TestLatLonDocValuesQueries.testRandomBig (:lucene:core)
>   1628.04s TestLatLonPointQueries.testRandomBig (:lucene:core)
>   1492.32s TestGeo3DPoint.testRandomBig (:lucene:spatial3d)
>   1481.19s TestXYDocValuesQueries.testRandomBig (:lucene:core)
>   1351.95s TestXYPointQueries.testRandomBig (:lucene:core)
>   940.30s TestLongRangeFieldQueries.testRandomBig (:lucene:core)
>   871.50s Test4GBStoredFields.test (:lucene:core)
>   743.00s TestFloatRangeFieldQueries.testRandomBig (:lucene:core)
> {code}
> The main offender looks like {{BaseSpatialTestCase#testRandomBig}}, we should 
> look into making this run faster. Relates to LUCENE-8643.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to