jpountz commented on PR #13958: URL: https://github.com/apache/lucene/pull/13958#issuecomment-2438737799
Specializing `ImpactsDISI#nextDoc()` helped get rid of the slowdown: ``` TaskQPS baseline StdDevQPS my_modified_version StdDev Pct diff p-value AndStopWords 31.34 (1.8%) 30.84 (4.0%) -1.6% ( -7% - 4%) 0.105 CountTerm 8573.12 (3.8%) 8449.05 (4.7%) -1.4% ( -9% - 7%) 0.284 CountOrHighMed 105.75 (2.1%) 104.50 (1.4%) -1.2% ( -4% - 2%) 0.039 TermDTSort 363.06 (6.4%) 358.98 (6.6%) -1.1% ( -13% - 12%) 0.585 CountOrHighHigh 50.62 (2.4%) 50.28 (1.7%) -0.7% ( -4% - 3%) 0.305 IntNRQ 453.67 (4.7%) 451.13 (4.5%) -0.6% ( -9% - 9%) 0.700 OrHighRare 283.32 (3.8%) 282.52 (3.8%) -0.3% ( -7% - 7%) 0.813 Fuzzy1 78.58 (2.1%) 78.42 (3.0%) -0.2% ( -5% - 5%) 0.812 HighTermDayOfYearSort 850.86 (4.4%) 849.52 (3.0%) -0.2% ( -7% - 7%) 0.895 HighTermTitleBDVSort 13.97 (6.3%) 13.96 (5.5%) -0.1% ( -11% - 12%) 0.974 And2Terms2StopWords 157.31 (1.3%) 157.27 (2.2%) -0.0% ( -3% - 3%) 0.965 LowTerm 985.67 (3.0%) 986.01 (1.8%) 0.0% ( -4% - 4%) 0.964 HighTermMonthSort 3216.69 (2.2%) 3217.92 (3.9%) 0.0% ( -5% - 6%) 0.969 Fuzzy2 73.69 (2.0%) 73.74 (2.4%) 0.1% ( -4% - 4%) 0.910 AndHighHigh 65.88 (2.1%) 66.18 (2.0%) 0.5% ( -3% - 4%) 0.472 And3Terms 169.85 (2.0%) 170.81 (2.4%) 0.6% ( -3% - 5%) 0.424 OrMany 19.10 (1.7%) 19.22 (1.7%) 0.6% ( -2% - 4%) 0.237 Or2Terms2StopWords 160.88 (1.4%) 161.91 (2.0%) 0.6% ( -2% - 4%) 0.241 OrStopWords 34.90 (1.4%) 35.15 (3.9%) 0.7% ( -4% - 6%) 0.450 OrHighLow 799.18 (1.6%) 805.33 (1.5%) 0.8% ( -2% - 3%) 0.117 CountAndHighMed 149.99 (3.1%) 151.23 (1.1%) 0.8% ( -3% - 5%) 0.261 Wildcard 88.47 (2.7%) 89.32 (3.2%) 1.0% ( -4% - 7%) 0.309 PKLookup 270.87 (3.8%) 273.47 (1.7%) 1.0% ( -4% - 6%) 0.307 Prefix3 93.00 (8.2%) 94.14 (6.3%) 1.2% ( -12% - 17%) 0.599 MedTerm 690.05 (2.6%) 701.55 (1.3%) 1.7% ( -2% - 5%) 0.010 OrHighNotMed 359.57 (2.7%) 366.02 (1.9%) 1.8% ( -2% - 6%) 0.014 Or3Terms 170.81 (1.3%) 173.98 (2.1%) 1.9% ( -1% - 5%) 0.001 OrHighNotLow 432.25 (3.4%) 440.76 (2.4%) 2.0% ( -3% - 8%) 0.035 HighTermTitleSort 159.15 (4.8%) 162.44 (2.9%) 2.1% ( -5% - 10%) 0.096 AndHighMed 225.25 (2.6%) 229.93 (1.4%) 2.1% ( -1% - 6%) 0.002 HighTerm 455.45 (2.4%) 465.69 (2.1%) 2.2% ( -2% - 6%) 0.002 OrHighHigh 78.87 (1.5%) 80.64 (1.5%) 2.3% ( 0% - 5%) 0.000 OrHighNotHigh 218.32 (2.7%) 224.10 (2.0%) 2.6% ( -2% - 7%) 0.000 OrNotHighLow 1111.11 (2.8%) 1144.28 (2.5%) 3.0% ( -2% - 8%) 0.000 OrHighMed 267.13 (1.8%) 275.57 (1.3%) 3.2% ( 0% - 6%) 0.000 OrNotHighMed 303.24 (3.0%) 313.56 (2.5%) 3.4% ( -2% - 9%) 0.000 OrNotHighHigh 230.18 (2.8%) 238.62 (2.2%) 3.7% ( -1% - 8%) 0.000 AndHighLow 866.39 (2.7%) 903.54 (2.4%) 4.3% ( 0% - 9%) 0.000 CountAndHighHigh 49.60 (3.1%) 53.54 (0.9%) 7.9% ( 3% - 12%) 0.000 ``` -- 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