jpountz commented on PR #12589:
URL: https://github.com/apache/lucene/pull/12589#issuecomment-1733875246

   Opening as a draft as I still need to figure out how to test this 
optimization.
   
   I tested on wikibigall where this yielded a good speedup. I would expect an 
even better speedup if recursive graph bisection is enabled.
   
   ```
                               TaskQPS baseline      StdDevQPS 
my_modified_version      StdDev                Pct diff p-value
                    CountOrHighHigh       59.20     (15.6%)       57.96     
(14.8%)   -2.1% ( -28% -   33%) 0.671
                     CountOrHighMed       91.87     (15.6%)       90.04     
(14.7%)   -2.0% ( -27% -   33%) 0.684
                            MedTerm      451.03      (9.1%)      446.68      
(8.1%)   -1.0% ( -16% -   17%) 0.730
                            LowTerm      751.75      (8.3%)      744.56      
(7.1%)   -1.0% ( -15% -   15%) 0.703
                          MedPhrase       40.42      (7.8%)       40.05      
(7.9%)   -0.9% ( -15% -   16%) 0.717
                           HighTerm      339.69     (10.6%)      337.52      
(9.5%)   -0.6% ( -18% -   21%) 0.844
                         HighPhrase       35.00      (6.4%)       34.82      
(6.7%)   -0.5% ( -12% -   13%) 0.809
                        AndHighHigh       63.82      (4.2%)       63.55      
(2.9%)   -0.4% (  -7% -    7%) 0.721
                         AndHighMed      182.62      (3.6%)      181.94      
(2.4%)   -0.4% (  -6% -    5%) 0.705
                          LowPhrase       41.82      (4.8%)       41.69      
(5.6%)   -0.3% ( -10% -   10%) 0.848
              HighTermDayOfYearSort      234.81      (1.5%)      234.33      
(1.8%)   -0.2% (  -3% -    3%) 0.697
                         AndHighLow      823.51      (3.2%)      821.97      
(2.6%)   -0.2% (  -5% -    5%) 0.846
                          OrHighLow      630.34      (2.9%)      630.52      
(3.9%)    0.0% (  -6% -    6%) 0.979
                            Respell       66.16      (1.4%)       66.19      
(1.7%)    0.0% (  -2% -    3%) 0.938
                             Fuzzy1      128.80      (1.4%)      128.97      
(1.5%)    0.1% (  -2% -    3%) 0.777
                    CountAndHighMed      123.28      (2.8%)      123.60      
(3.6%)    0.3% (  -5% -    6%) 0.803
                             Fuzzy2      114.67      (1.3%)      114.97      
(1.5%)    0.3% (  -2% -    3%) 0.567
                        CountPhrase        3.38      (9.0%)        3.39      
(9.3%)    0.3% ( -16% -   20%) 0.918
                   CountAndHighHigh       40.81      (2.8%)       40.96      
(3.8%)    0.4% (  -6% -    7%) 0.742
                           PKLookup      224.07      (2.3%)      225.12      
(2.7%)    0.5% (  -4% -    5%) 0.566
                           Wildcard      144.23      (2.4%)      145.22      
(3.1%)    0.7% (  -4% -    6%) 0.451
                  HighTermMonthSort     5090.41      (2.8%)     5142.25      
(4.2%)    1.0% (  -5% -    8%) 0.384
                            Prefix3      241.24      (4.3%)      244.33      
(4.4%)    1.3% (  -7% -   10%) 0.368
                          CountTerm    17070.19      (5.1%)    17289.73      
(4.9%)    1.3% (  -8% -   11%) 0.429
                             IntNRQ       88.47     (11.5%)       89.76     
(13.8%)    1.5% ( -21% -   30%) 0.725
                          OrHighMed      191.58      (3.5%)      206.42      
(3.7%)    7.7% (   0% -   15%) 0.000
                         OrHighHigh       60.88      (4.4%)       68.91      
(4.4%)   13.2% (   4% -   23%) 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

Reply via email to