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

   This is a minimal prof to describe a idea about how to vectorize a bitset 
into an array, which can be a hot path when posting is encoded as a bitset. 
This version currently only runs on AVX512, but may be adapted to more in the 
future.
   
   ```
   Benchmark                             (bitSetSize)   Mode  Cnt      Score    
  Error   Units
   BitsetToArrayBenchmark.baseline                128  thrpt    5   5477.202 ±  
 36.920  ops/ms
   BitsetToArrayBenchmark.baseline                256  thrpt    5   6197.595 ±  
 92.064  ops/ms
   BitsetToArrayBenchmark.baseline                512  thrpt    5   7121.446 ±  
113.840  ops/ms
   BitsetToArrayBenchmark.baseline                768  thrpt    5   7361.335 ±  
286.118  ops/ms
   BitsetToArrayBenchmark.vectorized512           128  thrpt    5  85321.831 ± 
1539.445  ops/ms
   BitsetToArrayBenchmark.vectorized512           256  thrpt    5  58632.773 ± 
1130.691  ops/ms
   BitsetToArrayBenchmark.vectorized512           512  thrpt    5  48780.092 ±  
958.403  ops/ms
   BitsetToArrayBenchmark.vectorized512           768  thrpt    5  29373.799 ±  
392.238  ops/ms
   ```


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