jainankitk commented on PR #14622:
URL: https://github.com/apache/lucene/pull/14622#issuecomment-2857341736

   Okay, something weird going on here. Benchmark for matchAll query is as 
expected:
   
   ```
     Benchmark                                           (bucketWidth)  
(docCount)  (pointEnabled)   Mode  Cnt     Score     Error  Units               
                                
     HistogramCollectorBenchmark.matchAllQueryHistogram           5000      
500000            true  thrpt    3   947.650 ±  36.350  ops/s                   
                            
     HistogramCollectorBenchmark.matchAllQueryHistogram           5000      
500000           false  thrpt    3   180.365 ±   4.737  ops/s                   
                            
     HistogramCollectorBenchmark.matchAllQueryHistogram           5000     
5000000            true  thrpt    3    97.463 ±  19.101  ops/s                  
                             
     HistogramCollectorBenchmark.matchAllQueryHistogram           5000     
5000000           false  thrpt    3    19.030 ±   0.944  ops/s                  
                             
     HistogramCollectorBenchmark.matchAllQueryHistogram          25000      
500000            true  thrpt    3  4640.059 ± 631.876  ops/s                   
                            
     HistogramCollectorBenchmark.matchAllQueryHistogram          25000      
500000           false  thrpt    3   181.535 ±   3.220  ops/s                   
                            
     HistogramCollectorBenchmark.matchAllQueryHistogram          25000     
5000000            true  thrpt    3   468.640 ±  57.924  ops/s                  
                             
     HistogramCollectorBenchmark.matchAllQueryHistogram          25000     
5000000           false  thrpt    3    19.088 ±   1.099  ops/s
   ```
   
   Even, when I changed the lower/upper bound to match all the documents in 
PointRangeQuery:
   
   ```
     Benchmark                                             (bucketWidth)  
(docCount)  (pointEnabled)   Mode  Cnt        Score         Error  Units        
                              
     HistogramCollectorBenchmark.pointRangeQueryHistogram           5000      
500000            true  thrpt    3      949.155 ±      94.558  ops/s            
                          
     HistogramCollectorBenchmark.pointRangeQueryHistogram           5000      
500000           false  thrpt    3  1356118.125 ± 1468756.207  ops/s            
                          
     HistogramCollectorBenchmark.pointRangeQueryHistogram           5000     
5000000            true  thrpt    3      100.393 ±       7.364  ops/s           
                           
     HistogramCollectorBenchmark.pointRangeQueryHistogram           5000     
5000000           false  thrpt    3   814632.141 ±  547994.672  ops/s           
                           
     HistogramCollectorBenchmark.pointRangeQueryHistogram          25000      
500000            true  thrpt    3     4625.734 ±     979.925  ops/s            
                          
     HistogramCollectorBenchmark.pointRangeQueryHistogram          25000      
500000           false  thrpt    3  1362663.491 ± 3491626.784  ops/s            
                          
     HistogramCollectorBenchmark.pointRangeQueryHistogram          25000     
5000000            true  thrpt    3      454.742 ±      45.212  ops/s           
                           
     HistogramCollectorBenchmark.pointRangeQueryHistogram          25000     
5000000           false  thrpt    3  1249472.910 ± 1696940.142  ops/s
   ```
   
   The results with pointsEnabled is fairly consistent, but much different for 
docValues case, even compared to `MATCH_ALL` which doesn't make sense at all, 
as docCount being iterated over is the same


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