jpountz commented on PR #13904: URL: https://github.com/apache/lucene/pull/13904#issuecomment-2410663119
I confirmed that this makes things better when all clauses are `ConstantScoreQuery`s, luceneutil doesn't report a slowdown: ``` TaskQPS baseline StdDevQPS my_modified_version StdDev Pct diff p-value OrNotHighLow 585.86 (7.2%) 566.68 (5.1%) -3.3% ( -14% - 9%) 0.095 HighTermDayOfYearSort 306.99 (8.9%) 301.37 (8.6%) -1.8% ( -17% - 17%) 0.506 And3Terms 226.85 (5.6%) 222.90 (6.6%) -1.7% ( -13% - 11%) 0.369 OrHighNotLow 307.70 (6.4%) 302.80 (7.2%) -1.6% ( -14% - 12%) 0.461 OrNotHighHigh 185.78 (5.2%) 183.47 (6.6%) -1.2% ( -12% - 11%) 0.510 Or3Terms 223.86 (7.1%) 221.64 (7.7%) -1.0% ( -14% - 14%) 0.674 Phrase 26.60 (2.8%) 26.37 (4.0%) -0.9% ( -7% - 6%) 0.423 OrHighNotHigh 220.17 (5.3%) 218.70 (5.8%) -0.7% ( -11% - 10%) 0.702 HighTerm 294.16 (7.0%) 292.23 (6.7%) -0.7% ( -13% - 13%) 0.761 AndHighLow 595.88 (4.3%) 591.99 (4.7%) -0.7% ( -9% - 8%) 0.648 OrHighHigh 117.92 (2.3%) 117.19 (5.0%) -0.6% ( -7% - 6%) 0.614 AndHighMed 271.88 (7.2%) 270.24 (7.9%) -0.6% ( -14% - 15%) 0.800 AndHighHigh 119.61 (3.9%) 118.96 (4.5%) -0.5% ( -8% - 8%) 0.683 OrStopWords 66.94 (7.5%) 66.58 (7.0%) -0.5% ( -13% - 15%) 0.814 OrHighLow 468.84 (3.9%) 466.32 (3.9%) -0.5% ( -7% - 7%) 0.662 HighTermMonthSort 763.50 (2.3%) 761.25 (2.9%) -0.3% ( -5% - 5%) 0.724 TermDTSort 216.36 (5.8%) 215.86 (4.0%) -0.2% ( -9% - 10%) 0.885 OrHighMed 197.37 (4.8%) 197.03 (7.4%) -0.2% ( -11% - 12%) 0.929 HighTermTitleBDVSort 52.15 (7.5%) 52.11 (4.7%) -0.1% ( -11% - 13%) 0.963 And2Terms2StopWords 207.53 (4.6%) 207.84 (5.7%) 0.1% ( -9% - 10%) 0.927 OrHighNotMed 284.45 (5.8%) 284.99 (6.8%) 0.2% ( -11% - 13%) 0.925 HighTermTitleSort 97.13 (4.9%) 97.34 (6.5%) 0.2% ( -10% - 12%) 0.904 AndStopWords 61.72 (5.1%) 61.86 (5.5%) 0.2% ( -9% - 11%) 0.892 CountTerm 5714.94 (3.6%) 5737.59 (5.3%) 0.4% ( -8% - 9%) 0.782 MedTerm 376.20 (6.7%) 377.74 (7.4%) 0.4% ( -12% - 15%) 0.855 PKLookup 191.27 (3.0%) 192.19 (3.5%) 0.5% ( -5% - 7%) 0.647 IntNRQ 163.19 (12.4%) 164.32 (8.5%) 0.7% ( -18% - 24%) 0.837 Or2Terms2StopWords 209.38 (3.9%) 210.84 (6.3%) 0.7% ( -9% - 11%) 0.673 LowTerm 472.83 (6.8%) 476.30 (6.1%) 0.7% ( -11% - 14%) 0.718 OrHighRare 254.55 (4.9%) 256.78 (7.7%) 0.9% ( -11% - 14%) 0.667 Wildcard 69.55 (3.4%) 70.32 (5.0%) 1.1% ( -7% - 9%) 0.418 CountAndHighMed 233.44 (6.1%) 236.36 (5.3%) 1.3% ( -9% - 13%) 0.487 CountAndHighHigh 95.44 (3.6%) 96.85 (3.7%) 1.5% ( -5% - 9%) 0.201 Prefix3 180.59 (5.4%) 183.71 (7.7%) 1.7% ( -10% - 15%) 0.410 CountOrHighMed 177.68 (6.6%) 181.10 (7.5%) 1.9% ( -11% - 17%) 0.387 OrNotHighMed 264.61 (6.9%) 270.30 (7.9%) 2.1% ( -11% - 18%) 0.358 CountOrHighHigh 113.18 (7.4%) 118.20 (11.8%) 4.4% ( -13% - 25%) 0.155 ``` -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org