[
https://issues.apache.org/jira/browse/ARTEMIS-2996?focusedWorklogId=511939&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-511939
]
ASF GitHub Bot logged work on ARTEMIS-2996:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 15/Nov/20 13:32
Start Date: 15/Nov/20 13:32
Worklog Time Spent: 10m
Work Description: 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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 511939)
Time Spent: 1h 10m (was: 1h)
> Provide JMH Benchmarks for Artemis
> ----------------------------------
>
> Key: ARTEMIS-2996
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2996
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Tests
> Reporter: Francesco Nigro
> Assignee: Francesco Nigro
> Priority: Major
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> In order to reliably measure performance of many Artemis component would be
> welcome to implement some https://github.com/openjdk/jmh benchmarks to be
> used for development purposes ie not part of the release
--
This message was sent by Atlassian Jira
(v8.3.4#803005)