costin commented on pull request #453:
URL: https://github.com/apache/lucene/pull/453#issuecomment-984534767


   Updated the benchmark to use JMH `blackhole` and tested it with/without the 
blackhole flag enabled on the Java 17.0.1 compiler and got the following 
results:
   ```
   Benchmark                                                (bpv)  (size)   
Mode  Cnt      Score       Error  Units
   Packed64Benchmark.packed64VarHandleLongByte_Consecutive     47   10240  
thrpt    3  12381.811 ±  6265.438  ops/s
   Packed64Benchmark.packed64VarHandleLongByte_Sparse          47   10240  
thrpt    3  19846.767 ±  1419.612  ops/s
   Packed64Benchmark.packed64VarHandleLongLong_Consecutive     47   10240  
thrpt    3  19840.317 ± 11542.155  ops/s
   Packed64Benchmark.packed64VarHandleLongLong_Sparse          47   10240  
thrpt    3  21213.913 ±   592.893  ops/s
   Packed64Benchmark.packed64_Consecutive                      47   10240  
thrpt    3  22211.687 ±  2118.587  ops/s
   Packed64Benchmark.packed64_Sparse                           47   10240  
thrpt    3  22870.002 ±   418.572  ops/s
   
   Compiler blackhole:
   Packed64Benchmark.packed64VarHandleLongByte_Consecutive     47   10240  
thrpt    3  15021.054 ±  2538.483  ops/s
   Packed64Benchmark.packed64VarHandleLongByte_Sparse          47   10240  
thrpt    3  25409.229 ±  5009.585  ops/s
   Packed64Benchmark.packed64VarHandleLongLong_Consecutive     47   10240  
thrpt    3  25273.456 ± 21212.884  ops/s
   Packed64Benchmark.packed64VarHandleLongLong_Sparse          47   10240  
thrpt    3  28486.621 ±  1019.290  ops/s
   Packed64Benchmark.packed64_Consecutive                      47   10240  
thrpt    3  28826.916 ±  7247.116  ops/s
   Packed64Benchmark.packed64_Sparse                           47   10240  
thrpt    3  29529.579 ± 12940.266  ops/s
   ```
   
   Also plugged Packed64VHLB into PackedInts so it gets used for bpv up to 56 
(included) and ran the macro test to check performance and got the following 
results 
   [dynamic.log](https://github.com/apache/lucene/files/7641422/dynamic.log)
   
   Overall it's a mixed bag - with some results better especially at the 
beginning of the test and then mixed results in terms of performance.
   
   


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