You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2020/11/15 13:32:42 UTC

[GitHub] [activemq-artemis] franz1981 removed a comment on pull request #3343: ARTEMIS-2996 Provide JMH Benchmarks for Artemis

franz1981 removed a comment on pull request #3343:
URL: https://github.com/apache/activemq-artemis/pull/3343#issuecomment-727569023


   Had some fun with this and found an easy low hanging fruit that really improve performance a lot...
   Using 4 threads for `testAddRemoveNewBindingWhilePublish` and 4 on `testPublishWhileAddRemoveNewBinding`:
   
   `master`
   ```
   Benchmark                                                                (topicsLog2)   Mode  Cnt          Score          Error  Units
   WildcardAddressManagerPerfTest.both:testAddRemoveNewBindingWhilePublish            16  thrpt   16      95647.902 ±     5049.284  ops/s
   WildcardAddressManagerPerfTest.both:testPublishWhileAddRemoveNewBinding            16  thrpt   16  137072955.875 ± 21611759.467  ops/s
   ```
   This pr, after making `SEPARATOR` `static final`:
   ```
   Benchmark                                                                (topicsLog2)   Mode  Cnt          Score          Error  Units
   WildcardAddressManagerPerfTest.both:testAddRemoveNewBindingWhilePublish            16  thrpt   16      94823.178 ±     4462.129  ops/s
   WildcardAddressManagerPerfTest.both:testPublishWhileAddRemoveNewBinding            16  thrpt   16  174427240.181 ± 14332414.006  ops/s
   ```


----------------------------------------------------------------
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:
users@infra.apache.org