franz1981 commented on pull request #3363:
URL: https://github.com/apache/activemq-artemis/pull/3363#issuecomment-734723665


   I've added a further commit to reduce the allocation rate and improve a bit 
performance:
   ```
   Benchmark                                                   (persist)  
(size)   Mode  Cnt        Score        Error   Units
   DuplicateIDCacheBenchmark.atomicVerify                          false    
2000  thrpt   16  6421235.726 ±  67792.082   ops/s
   DuplicateIDCacheBenchmark.atomicVerify:·gc.alloc.rate.norm      false    
2000  thrpt   16       56.000 ±      0.001    B/op
   DuplicateIDCacheBenchmark.atomicVerify                          false   
20000  thrpt   16  5237169.779 ± 231236.770   ops/s
   DuplicateIDCacheBenchmark.atomicVerify:·gc.alloc.rate.norm      false   
20000  thrpt   16       56.000 ±      0.001    B/op
   DuplicateIDCacheBenchmark.atomicVerify                           true    
2000  thrpt   16  5968040.463 ±  82664.101   ops/s
   DuplicateIDCacheBenchmark.atomicVerify:·gc.alloc.rate.norm       true    
2000  thrpt   16       56.000 ±      0.001    B/op
   DuplicateIDCacheBenchmark.atomicVerify                           true   
20000  thrpt   16  4898354.808 ± 305894.713   ops/s
   DuplicateIDCacheBenchmark.atomicVerify:·gc.alloc.rate.norm       true   
20000  thrpt   16       56.000 ±      0.001    B/op
   ```
   
   I'll keep the commit separated because from code quality is a bit regressed.


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


Reply via email to