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

   I ran `PostingIndexInputBenchmark` with the vector module enabled to check 
performance, but it seems to report a slowdown.
   
   main:
   
   ```
   Benchmark                                      (bpv)   Mode  Cnt   Score   
Error   Units
   PostingIndexInputBenchmark.decode                  7  thrpt   15  37.939 ± 
0.647  ops/us
   PostingIndexInputBenchmark.decodeAndPrefixSum      7  thrpt   15  18.602 ± 
0.413  ops/us
   ```
   
   this PR:
   
   ```
   Benchmark                                      (bpv)   Mode  Cnt   Score   
Error   Units
   PostingIndexInputBenchmark.decode                  7  thrpt   15  22.105 ± 
1.001  ops/us
   PostingIndexInputBenchmark.decodeAndPrefixSum      7  thrpt   15  12.791 ± 
0.280  ops/us
   ```
   
   I only ran with `bpv=7` which is a "hard" number of bits per value, didn't 
check other numbers as I didn't have much time. I do see a speedup without the 
vector module enabled though:
   
   main:
   (results are very noisy on main and without the vector module enabled, not 
sure why)
   
   ```
   Benchmark                                      (bpv)   Mode  Cnt   Score   
Error   Units
   PostingIndexInputBenchmark.decode                  7  thrpt   15  15.439 ± 
8.188  ops/us
   PostingIndexInputBenchmark.decodeAndPrefixSum      7  thrpt   15  11.709 ± 
0.897  ops/us
   ```
   
   this PR:
   
   ```
   Benchmark                                      (bpv)   Mode  Cnt   Score   
Error   Units
   PostingIndexInputBenchmark.decode                  7  thrpt   15  30.618 ± 
0.519  ops/us
   PostingIndexInputBenchmark.decodeAndPrefixSum      7  thrpt   15  13.216 ± 
0.232  ops/us
   ```


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