sgup432 commented on PR #16917: URL: https://github.com/apache/lucene/pull/16917#issuecomment-7092120734
I ran the luceneutil benchmark against my change, details below. Used the doc values range tasks from lucene util [here](https://github.com/sgup432/luceneutil/blob/095549846448e06d18a16d0654ac1785158429a7/tasks/wikinightly.tasks#L159) **Setup:** wikimedium10m (10M docs). 20 JVMs per side, 5 tasks/category × 100 repeats. m5.2x large(supports AVX 52) ``` Task baseline(QPS) StdDev Candidate(QPS) StdDev Pct diff p-value TermWithDVRangeDayOfYear 233.84 (2.7%) 234.90 (2.1%) 0.5% ( -4% - 5%) 0.552 TermWithDVRangeLastMod 83.87 (2.0%) 84.74 (2.7%) 1.0% ( -3% - 5%) 0.174 DVRangeDayOfYearWide 11.54 (3.8%) 17.86 (39.7%) 54.7% ( 10% - 102%) 0.000 DVRangeDayOfYearNarrow 12.10 (3.0%) 19.04 (42.8%) 57.3% ( 11% - 106%) 0.000 DVRangeLastModWide 12.99 (3.3%) 70.11 (14.5%) 439.7% ( 408% - 473%) 0.000 DVRangeLastModNarrow 13.13 (3.4%) 81.41 (13.8%) 519.9% ( 486% - 555%) 0.000 ``` Looks like a **4x/5x** speed on `DVRangeLastModWide` and `DVRangeLastModNarrow`! While doing a probe, seems like the field `lastMod_skipper` is stored in 32bpv for most of the docs. And it takes the fast path. While `dayOfYear_skipper` seems to be stored in 12bpv, so this PR's optimization doesn't work in this case. -- 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]
