gf2121 opened a new pull request, #14714:
URL: https://github.com/apache/lucene/pull/14714

   This tries to encode `ScoreDoc#score` and `ScoreDoc#doc` to a comparable 
long and use a `LongHeap` instead of `HitQueue`. This seems to help apparently 
when i increase `topN = 1000` 
(https://github.com/mikemccand/luceneutil/pull/357). 
   
   **Luceneutil (Baseline contains 
https://github.com/apache/lucene/pull/14709.)**
   
   ```
                               TaskQPS baseline      StdDevQPS 
my_modified_version      StdDev                Pct diff p-value
                          CountTerm    14783.92      (5.0%)    14552.83      
(5.3%)   -1.6% ( -11% -    9%) 0.340
                CountFilteredPhrase       22.48      (2.7%)       22.22      
(2.2%)   -1.1% (  -5% -    3%) 0.146
                     CountOrHighMed      157.96      (2.5%)      156.91      
(2.3%)   -0.7% (  -5% -    4%) 0.375
                CountFilteredOrMany       10.64      (3.8%)       10.60      
(3.9%)   -0.4% (  -7% -    7%) 0.737
                           SpanNear        5.93      (4.7%)        5.92      
(4.4%)   -0.3% (  -8% -    9%) 0.853
                            Respell       80.44      (2.5%)       80.29      
(2.7%)   -0.2% (  -5% -    5%) 0.822
             CountFilteredOrHighMed       49.06      (3.7%)       48.98      
(4.4%)   -0.2% (  -7% -    8%) 0.893
                     FilteredPhrase       21.91      (2.2%)       21.88      
(2.3%)   -0.1% (  -4% -    4%) 0.847
                CountFilteredIntNRQ       27.50      (2.0%)       27.48      
(2.4%)   -0.1% (  -4% -    4%) 0.934
                      TermMonthSort     1768.20      (1.9%)     1768.68      
(2.4%)    0.0% (  -4% -    4%) 0.968
                   IntervalsOrdered        5.78      (2.7%)        5.78      
(2.5%)    0.0% (  -5% -    5%) 0.968
                        CountOrMany       11.93      (4.8%)       11.93      
(3.3%)    0.0% (  -7% -    8%) 0.976
                    CountOrHighHigh       88.76      (2.9%)       88.80      
(1.4%)    0.0% (  -4% -    4%) 0.955
                    CountAndHighMed      122.70      (3.1%)      122.75      
(2.8%)    0.0% (  -5% -    6%) 0.962
                        CountPhrase        5.99      (2.1%)        5.99      
(2.2%)    0.1% (  -4% -    4%) 0.911
                   CountAndHighHigh       83.78      (2.7%)       83.85      
(2.4%)    0.1% (  -4% -    5%) 0.914
            CountFilteredOrHighHigh       39.81      (3.2%)       39.85      
(3.8%)    0.1% (  -6% -    7%) 0.927
                   AndMedOrHighHigh       29.61      (3.5%)       29.65      
(4.9%)    0.1% (  -7% -    8%) 0.913
                             IntNRQ       46.08      (0.5%)       46.17      
(0.4%)    0.2% (   0% -    1%) 0.187
                     FilteredIntNRQ       45.99      (0.6%)       46.13      
(0.4%)    0.3% (   0% -    1%) 0.066
                     FilteredOrMany        5.15      (1.1%)        5.17      
(1.1%)    0.3% (  -1% -    2%) 0.339
                        OrStopWords        7.79      (4.3%)        7.83      
(4.1%)    0.6% (  -7% -    9%) 0.669
                             Phrase       10.74      (2.3%)       10.81      
(2.8%)    0.6% (  -4% -    5%) 0.478
                         TermDTSort      126.34      (2.3%)      127.25      
(2.9%)    0.7% (  -4% -    6%) 0.383
        FilteredAnd2Terms2StopWords      125.37      (2.8%)      126.34      
(2.6%)    0.8% (  -4% -    6%) 0.369
                      TermTitleSort       40.28      (3.3%)       40.60      
(2.7%)    0.8% (  -4% -    6%) 0.402
                           Wildcard      117.87      (1.6%)      118.94      
(2.4%)    0.9% (  -3% -    4%) 0.158
                    FilteredPrefix3      168.60      (1.4%)      170.29      
(1.7%)    1.0% (  -2% -    4%) 0.043
                FilteredOrStopWords       17.73      (2.0%)       17.91      
(2.4%)    1.0% (  -3% -    5%) 0.137
                            Prefix3      182.05      (1.4%)      184.02      
(1.8%)    1.1% (  -2% -    4%) 0.032
                CombinedAndHighHigh        8.58      (1.9%)        8.67      
(1.6%)    1.1% (  -2% -    4%) 0.050
                    AndHighOrMedMed       25.76      (1.3%)       26.05      
(1.5%)    1.1% (  -1% -    3%) 0.011
               FilteredAndStopWords       19.85      (4.1%)       20.08      
(3.3%)    1.2% (  -5% -    8%) 0.318
                 FilteredOrHighHigh       26.08      (2.3%)       26.42      
(2.2%)    1.3% (  -3% -    5%) 0.062
                FilteredAndHighHigh       26.33      (3.1%)       26.68      
(2.9%)    1.3% (  -4% -    7%) 0.161
                         OrHighHigh       20.34      (3.2%)       20.61      
(3.1%)    1.3% (  -4% -    7%) 0.183
                             OrMany        6.65      (4.1%)        6.74      
(2.5%)    1.4% (  -4% -    8%) 0.188
                  FilteredAnd3Terms      172.63      (2.8%)      175.23      
(3.0%)    1.5% (  -4% -    7%) 0.101
                  TermDayOfYearSort      141.72      (2.5%)      143.88      
(2.9%)    1.5% (  -3% -    7%) 0.076
                       SloppyPhrase        2.29      (4.3%)        2.33      
(3.3%)    1.5% (  -5% -    9%) 0.208
                 CombinedOrHighHigh        9.11      (2.2%)        9.25      
(1.6%)    1.6% (  -2% -    5%) 0.010
                       AndStopWords        8.17      (5.6%)        8.30      
(4.8%)    1.6% (  -8% -   12%) 0.324
                   DismaxOrHighHigh       29.65      (2.9%)       30.16      
(2.7%)    1.7% (  -3% -    7%) 0.054
                   FilteredOr3Terms       41.95      (1.9%)       42.73      
(1.6%)    1.9% (  -1% -    5%) 0.001
                 CombinedAndHighMed       37.06      (1.9%)       37.82      
(1.9%)    2.0% (  -1% -    5%) 0.001
                        AndHighHigh       17.39      (3.3%)       17.77      
(3.1%)    2.2% (  -4% -    8%) 0.033
                 FilteredAndHighMed       72.46      (3.1%)       74.05      
(3.0%)    2.2% (  -3% -    8%) 0.021
                And2Terms2StopWords       94.17      (3.1%)       96.65      
(3.0%)    2.6% (  -3% -    9%) 0.006
         FilteredOr2Terms2StopWords       54.83      (2.3%)       56.39      
(1.9%)    2.8% (  -1% -    7%) 0.000
                          And3Terms      114.17      (3.6%)      117.80      
(3.0%)    3.2% (  -3% -   10%) 0.002
                         AndHighMed       58.30      (2.8%)       60.19      
(2.7%)    3.2% (  -2% -    9%) 0.000
                  FilteredOrHighMed       70.82      (2.4%)       73.18      
(2.3%)    3.3% (  -1% -    8%) 0.000
                  CombinedOrHighMed       38.14      (2.1%)       39.47      
(1.7%)    3.5% (   0% -    7%) 0.000
                       FilteredTerm       60.98      (2.1%)       63.12      
(2.0%)    3.5% (   0% -    7%) 0.000
                             Fuzzy1       88.06      (1.7%)       91.43      
(1.9%)    3.8% (   0% -    7%) 0.000
                    DismaxOrHighMed       59.63      (2.5%)       61.92      
(2.1%)    3.8% (   0% -    8%) 0.000
                             Fuzzy2       87.49      (1.7%)       90.93      
(1.8%)    3.9% (   0% -    7%) 0.000
                         OrHighRare       66.60      (8.3%)       69.40     
(10.5%)    4.2% ( -13% -   24%) 0.159
                             IntSet      610.93      (3.4%)      638.41      
(2.7%)    4.5% (  -1% -   11%) 0.000
                 Or2Terms2StopWords       74.73      (2.5%)       78.61      
(2.6%)    5.2% (   0% -   10%) 0.000
                          OrHighMed       71.79      (2.8%)       75.57      
(2.7%)    5.3% (   0% -   11%) 0.000
                           Or3Terms       85.34      (2.6%)       90.24      
(2.6%)    5.8% (   0% -   11%) 0.000
                       CombinedTerm       20.60      (2.4%)       21.90      
(1.7%)    6.3% (   2% -   10%) 0.000
                         DismaxTerm      329.03      (6.5%)      413.15      
(3.5%)   25.6% (  14% -   38%) 0.000
                               Term      305.57      (6.9%)      387.75      
(5.6%)   26.9% (  13% -   42%) 0.000
   ```
   
   This branch is checkout from https://github.com/apache/lucene/pull/14709 so 
there is some unrelated diff, i'll mark this draft until #14709 merged.


-- 
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

Reply via email to