franz1981 commented on pull request #3363: URL: https://github.com/apache/activemq-artemis/pull/3363#issuecomment-736220371
I've further improved the performance of this by implementing a batch hashCode on `byte[]`, results below: ``` Benchmark (persist) (size) Mode Cnt Score Error Units DuplicateIDCacheBenchmark.atomicVerify false 2000 thrpt 16 7302759.425 ± 143209.346 ops/s DuplicateIDCacheBenchmark.atomicVerify:·gc.alloc.rate.norm false 2000 thrpt 16 56.000 ± 0.001 B/op DuplicateIDCacheBenchmark.atomicVerify false 20000 thrpt 16 6139804.607 ± 293313.296 ops/s DuplicateIDCacheBenchmark.atomicVerify:·gc.alloc.rate false 20000 thrpt 16 218.550 ± 10.440 MB/sec DuplicateIDCacheBenchmark.atomicVerify true 2000 thrpt 16 6982708.801 ± 37226.679 ops/s DuplicateIDCacheBenchmark.atomicVerify:·gc.alloc.rate.norm true 2000 thrpt 16 56.000 ± 0.001 B/op DuplicateIDCacheBenchmark.atomicVerify true 20000 thrpt 16 5804655.241 ± 317214.721 ops/s DuplicateIDCacheBenchmark.atomicVerify:·gc.alloc.rate.norm true 20000 thrpt 16 56.000 ± 0.001 B/op ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
