uchiha-asha opened a new pull request, #17059: URL: https://github.com/apache/lucene/pull/17059
This change skips non-overlapping subtrees when assigning ranges to nodes in the segment tree of `OverlappingLongRangeCounter`. Benchmark: one-segment index of 65,536 docs, a point query matching 256 docs, then `LongRangeFacetCounts` + `getAllChildren`, 5 paired JVM forks, single pinned CPU, JDK 25: Ranges | Before (µs CPU) | After | Change -- | -- | -- | -- 512 rolling windows | 694.6 | 118.6 | -84% 128 rolling windows | 67.6 | 34.4 | -46% 128 nested ranges | 52.8 | 34.2 | -34% 8 rolling windows | 18.3 | 19.1 | noise 128 disjoint ranges (exclusive counter, not affected) | 32.1 | 28.4 | noise -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
