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

   ### Description
   This PR propose to specialize function `filterCompetitiveHits` when we have 
exact 2 scorers, in order to reduce float calculation and potential function 
calls
   
   Luceneutil result on `wikimediumall`  with `searchConcurrency=0`, 
`taskCountPerCat=5`, `taskRepeatCount=50` after 20 iterations
   
   ```
                               TaskQPS baseline      StdDevQPS 
my_modified_version      StdDev                Pct diff p-value
                         OrHighRare      116.59      (3.1%)      116.96      
(2.7%)    0.3% (  -5% -    6%) 0.734
                          OrHighMed       87.75      (2.4%)       88.83      
(2.6%)    1.2% (  -3% -    6%) 0.116
                         AndHighMed       67.91      (2.3%)       69.17      
(2.2%)    1.9% (  -2% -    6%) 0.009
                        AndHighHigh       27.96      (1.4%)       28.63      
(2.0%)    2.4% (  -1% -    5%) 0.000
                         OrHighHigh       26.16      (1.6%)       26.97      
(1.6%)    3.1% (   0% -    6%) 0.000
   ```
   
   
   
   <!--
   If this is your first contribution to Lucene, please make sure you have 
reviewed the contribution guide.
   https://github.com/apache/lucene/blob/main/CONTRIBUTING.md
   -->
   


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