[
https://issues.apache.org/jira/browse/ARTEMIS-2996?focusedWorklogId=512192&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-512192
]
ASF GitHub Bot logged work on ARTEMIS-2996:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 16/Nov/20 07:06
Start Date: 16/Nov/20 07:06
Worklog Time Spent: 10m
Work Description: franz1981 commented on pull request #3343:
URL: https://github.com/apache/activemq-artemis/pull/3343#issuecomment-727781879
These are the results.
This pr:
```
Benchmark
(topicsLog2) Mode Cnt Score Error Units
WildcardAddressManagerPerfTest.both:testAddRemoveNewBindingWhilePublish
2 thrpt 16 299899.123 ± 9376.689 ops/s
WildcardAddressManagerPerfTest.both:testPublishWhileAddRemoveNewBinding
2 thrpt 16 90076643.252 ± 21148545.456 ops/s
WildcardAddressManagerPerfTest.both:testAddRemoveNewBindingWhilePublish
8 thrpt 16 7615.982 ± 123.914 ops/s
WildcardAddressManagerPerfTest.both:testPublishWhileAddRemoveNewBinding
8 thrpt 16 83680564.528 ± 781632.643 ops/s
WildcardAddressManagerPerfTest.both:testAddRemoveNewBindingWhilePublish
10 thrpt 16 1061.621 ± 128.786 ops/s
WildcardAddressManagerPerfTest.both:testPublishWhileAddRemoveNewBinding
10 thrpt 16 48221531.411 ± 2804251.587 ops/s
WildcardAddressManagerPerfTest.testJustAddRemoveNewBinding
2 thrpt 16 465088.099 ± 34561.615 ops/s
WildcardAddressManagerPerfTest.testJustAddRemoveNewBinding
8 thrpt 16 11778.483 ± 173.307 ops/s
WildcardAddressManagerPerfTest.testJustAddRemoveNewBinding
10 thrpt 16 2109.041 ± 186.689 ops/s
WildcardAddressManagerPerfTest.testJustPublish
2 thrpt 16 274036118.300 ± 4554573.431 ops/s
WildcardAddressManagerPerfTest.testJustPublish
8 thrpt 16 187202367.351 ± 2023585.447 ops/s
WildcardAddressManagerPerfTest.testJustPublish
10 thrpt 16 101350692.610 ± 2772091.382 ops/s
```
`master`:
```
**
Benchmark
(topicsLog2) Mode Cnt Score Error Units
WildcardAddressManagerPerfTest.both:testAddRemoveNewBindingWhilePublish
2 thrpt 16 295434.319 ± 10580.352 ops/s
WildcardAddressManagerPerfTest.both:testPublishWhileAddRemoveNewBinding
2 thrpt 16 100350741.463 ± 7166844.441 ops/s
WildcardAddressManagerPerfTest.both:testAddRemoveNewBindingWhilePublish
8 thrpt 16 1181.538 ± 36.217 ops/s
WildcardAddressManagerPerfTest.both:testPublishWhileAddRemoveNewBinding
8 thrpt 16 86594664.222 ± 1040794.968 ops/s
WildcardAddressManagerPerfTest.both:testAddRemoveNewBindingWhilePublish
10 thrpt 16 67.873 ± 9.049 ops/s
WildcardAddressManagerPerfTest.both:testPublishWhileAddRemoveNewBinding
10 thrpt 16 49433517.093 ± 596134.766 ops/s
WildcardAddressManagerPerfTest.testJustAddRemoveNewBinding
2 thrpt 16 442642.438 ± 9116.475 ops/s
WildcardAddressManagerPerfTest.testJustAddRemoveNewBinding
8 thrpt 16 2145.601 ± 95.437 ops/s
WildcardAddressManagerPerfTest.testJustAddRemoveNewBinding
10 thrpt 16 156.090 ± 10.565 ops/s
WildcardAddressManagerPerfTest.testJustPublish
2 thrpt 16 262489608.447 ± 2390608.018 ops/s
WildcardAddressManagerPerfTest.testJustPublish
8 thrpt 16 170683082.929 ± 4646044.717 ops/s
WildcardAddressManagerPerfTest.testJustPublish
10 thrpt 16 97865949.150 ± 955235.418 ops/s
```
add/remove bindings is improved ten-fold with many subscribers (1024), while
querying (useful on common routing) is a bit improved (see `testJustPublish`
results).
From now on I'm going to fix the routing bottlenecks
----------------------------------------------------------------
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: 512192)
Time Spent: 7.5h (was: 7h 20m)
> 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: 7.5h
> 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)