Github user franz1981 commented on the issue:
https://github.com/apache/activemq-artemis/pull/1752
@michaelandrepearce @clebertsuconic
Here are extended results using the same garbage collector used on the
broker (G1) + different string lengths:
```
Benchmark
(length) Mode Cnt Score Error Units
SimpleStringInternerBenchmark.artemisIntern
8 thrpt 10 30348978.018 ± 2410863.818 ops/s
SimpleStringInternerBenchmark.artemisIntern:·gc.alloc.rate
8 thrpt 10 â 10â»â´ MB/sec
SimpleStringInternerBenchmark.artemisIntern:·gc.alloc.rate.norm
8 thrpt 10 â 10â»âµ B/op
SimpleStringInternerBenchmark.artemisIntern:·gc.count
8 thrpt 10 â 0 counts
SimpleStringInternerBenchmark.artemisIntern
16 thrpt 10 21618296.000 ± 1425149.201 ops/s
SimpleStringInternerBenchmark.artemisIntern:·gc.alloc.rate
16 thrpt 10 â 10â»â´ MB/sec
SimpleStringInternerBenchmark.artemisIntern:·gc.alloc.rate.norm
16 thrpt 10 â 10â»âµ B/op
SimpleStringInternerBenchmark.artemisIntern:·gc.count
16 thrpt 10 â 0 counts
SimpleStringInternerBenchmark.artemisIntern
36 thrpt 10 14261279.409 ± 1252627.430 ops/s
SimpleStringInternerBenchmark.artemisIntern:·gc.alloc.rate
36 thrpt 10 â 10â»â´ MB/sec
SimpleStringInternerBenchmark.artemisIntern:·gc.alloc.rate.norm
36 thrpt 10 â 10â»âµ B/op
SimpleStringInternerBenchmark.artemisIntern:·gc.count
36 thrpt 10 â 0 counts
SimpleStringInternerBenchmark.artemisIntern3Threads
8 thrpt 10 87213515.457 ± 5355377.340 ops/s
SimpleStringInternerBenchmark.artemisIntern3Threads:·gc.alloc.rate
8 thrpt 10 0.004 ± 0.011 MB/sec
SimpleStringInternerBenchmark.artemisIntern3Threads:·gc.alloc.rate.norm
8 thrpt 10 â 10â»â´ B/op
SimpleStringInternerBenchmark.artemisIntern3Threads:·gc.churn.G1_Eden_Space
8 thrpt 10 1.579 ± 7.551 MB/sec
SimpleStringInternerBenchmark.artemisIntern3Threads:·gc.churn.G1_Eden_Space.norm
8 thrpt 10 0.030 ± 0.143 B/op
SimpleStringInternerBenchmark.artemisIntern3Threads:·gc.count
8 thrpt 10 1.000 counts
SimpleStringInternerBenchmark.artemisIntern3Threads:·gc.time
8 thrpt 10 14.000 ms
SimpleStringInternerBenchmark.artemisIntern3Threads
16 thrpt 10 64572878.031 ± 3119600.421 ops/s
SimpleStringInternerBenchmark.artemisIntern3Threads:·gc.alloc.rate
16 thrpt 10 0.003 ± 0.005 MB/sec
SimpleStringInternerBenchmark.artemisIntern3Threads:·gc.alloc.rate.norm
16 thrpt 10 â 10â»â´ B/op
SimpleStringInternerBenchmark.artemisIntern3Threads:·gc.churn.G1_Eden_Space
16 thrpt 10 1.598 ± 7.639 MB/sec
SimpleStringInternerBenchmark.artemisIntern3Threads:·gc.churn.G1_Eden_Space.norm
16 thrpt 10 0.041 ± 0.197 B/op
SimpleStringInternerBenchmark.artemisIntern3Threads:·gc.count
16 thrpt 10 1.000 counts
SimpleStringInternerBenchmark.artemisIntern3Threads:·gc.time
16 thrpt 10 8.000 ms
SimpleStringInternerBenchmark.artemisIntern3Threads
36 thrpt 10 42088800.539 ± 2156595.581 ops/s
SimpleStringInternerBenchmark.artemisIntern3Threads:·gc.alloc.rate
36 thrpt 10 0.005 ± 0.012 MB/sec
SimpleStringInternerBenchmark.artemisIntern3Threads:·gc.alloc.rate.norm
36 thrpt 10 â 10â»â´ B/op
SimpleStringInternerBenchmark.artemisIntern3Threads:·gc.count
36 thrpt 10 â 0 counts
SimpleStringInternerBenchmark.guavaInterner
8 thrpt 10 12371381.743 ± 352958.763 ops/s
SimpleStringInternerBenchmark.guavaInterner:·gc.alloc.rate
8 thrpt 10 440.284 ± 12.602 MB/sec
SimpleStringInternerBenchmark.guavaInterner:·gc.alloc.rate.norm
8 thrpt 10 56.000 ± 0.001 B/op
SimpleStringInternerBenchmark.guavaInterner:·gc.churn.G1_Eden_Space
8 thrpt 10 441.328 ± 74.932 MB/sec
SimpleStringInternerBenchmark.guavaInterner:·gc.churn.G1_Eden_Space.norm
8 thrpt 10 56.094 ± 8.844 B/op
SimpleStringInternerBenchmark.guavaInterner:·gc.churn.G1_Old_Gen
8 thrpt 10 0.001 ± 0.002 MB/sec
SimpleStringInternerBenchmark.guavaInterner:·gc.churn.G1_Old_Gen.norm
8 thrpt 10 â 10â»â´ B/op
SimpleStringInternerBenchmark.guavaInterner:·gc.count
8 thrpt 10 46.000 counts
SimpleStringInternerBenchmark.guavaInterner:·gc.time
8 thrpt 10 125.000 ms
SimpleStringInternerBenchmark.guavaInterner
16 thrpt 10 9327233.046 ± 417047.080 ops/s
SimpleStringInternerBenchmark.guavaInterner:·gc.alloc.rate
16 thrpt 10 426.812 ± 19.133 MB/sec
SimpleStringInternerBenchmark.guavaInterner:·gc.alloc.rate.norm
16 thrpt 10 72.000 ± 0.001 B/op
SimpleStringInternerBenchmark.guavaInterner:·gc.churn.G1_Eden_Space
16 thrpt 10 431.758 ± 76.499 MB/sec
SimpleStringInternerBenchmark.guavaInterner:·gc.churn.G1_Eden_Space.norm
16 thrpt 10 72.718 ± 10.613 B/op
SimpleStringInternerBenchmark.guavaInterner:·gc.churn.G1_Old_Gen
16 thrpt 10 0.002 ± 0.002 MB/sec
SimpleStringInternerBenchmark.guavaInterner:·gc.churn.G1_Old_Gen.norm
16 thrpt 10 â 10â»â´ B/op
SimpleStringInternerBenchmark.guavaInterner:·gc.count
16 thrpt 10 45.000 counts
SimpleStringInternerBenchmark.guavaInterner:·gc.time
16 thrpt 10 134.000 ms
SimpleStringInternerBenchmark.guavaInterner
36 thrpt 10 6038631.034 ± 139674.264 ops/s
SimpleStringInternerBenchmark.guavaInterner:·gc.alloc.rate
36 thrpt 10 429.853 ± 9.912 MB/sec
SimpleStringInternerBenchmark.guavaInterner:·gc.alloc.rate.norm
36 thrpt 10 112.000 ± 0.001 B/op
SimpleStringInternerBenchmark.guavaInterner:·gc.churn.G1_Eden_Space
36 thrpt 10 441.364 ± 74.895 MB/sec
SimpleStringInternerBenchmark.guavaInterner:·gc.churn.G1_Eden_Space.norm
36 thrpt 10 114.978 ± 19.021 B/op
SimpleStringInternerBenchmark.guavaInterner:·gc.churn.G1_Old_Gen
36 thrpt 10 0.001 ± 0.002 MB/sec
SimpleStringInternerBenchmark.guavaInterner:·gc.churn.G1_Old_Gen.norm
36 thrpt 10 â 10â»Â³ B/op
SimpleStringInternerBenchmark.guavaInterner:·gc.count
36 thrpt 10 46.000 counts
SimpleStringInternerBenchmark.guavaInterner:·gc.time
36 thrpt 10 123.000 ms
SimpleStringInternerBenchmark.guavaInterner3Threads
8 thrpt 10 33995156.308 ± 1729710.281 ops/s
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.alloc.rate
8 thrpt 10 1209.763 ± 61.810 MB/sec
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.alloc.rate.norm
8 thrpt 10 56.000 ± 0.001 B/op
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.churn.G1_Eden_Space
8 thrpt 10 1218.226 ± 97.936 MB/sec
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.churn.G1_Eden_Space.norm
8 thrpt 10 56.394 ± 3.577 B/op
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.churn.G1_Old_Gen
8 thrpt 10 0.005 ± 0.005 MB/sec
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.churn.G1_Old_Gen.norm
8 thrpt 10 â 10â»â´ B/op
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.count
8 thrpt 10 127.000 counts
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.time
8 thrpt 10 313.000 ms
SimpleStringInternerBenchmark.guavaInterner3Threads
16 thrpt 10 25891674.274 ± 1803951.968 ops/s
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.alloc.rate
16 thrpt 10 1184.541 ± 82.284 MB/sec
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.alloc.rate.norm
16 thrpt 10 72.000 ± 0.001 B/op
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.churn.G1_Eden_Space
16 thrpt 10 1189.507 ± 74.552 MB/sec
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.churn.G1_Eden_Space.norm
16 thrpt 10 72.348 ± 3.358 B/op
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.churn.G1_Old_Gen
16 thrpt 10 0.006 ± 0.004 MB/sec
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.churn.G1_Old_Gen.norm
16 thrpt 10 â 10â»Â³ B/op
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.count
16 thrpt 10 124.000 counts
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.time
16 thrpt 10 320.000 ms
SimpleStringInternerBenchmark.guavaInterner3Threads
36 thrpt 10 16800145.225 ± 905870.505 ops/s
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.alloc.rate
36 thrpt 10 1195.717 ± 64.515 MB/sec
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.alloc.rate.norm
36 thrpt 10 112.001 ± 0.001 B/op
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.churn.G1_Eden_Space
36 thrpt 10 1198.855 ± 75.838 MB/sec
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.churn.G1_Eden_Space.norm
36 thrpt 10 112.304 ± 4.281 B/op
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.churn.G1_Old_Gen
36 thrpt 10 0.006 ± 0.004 MB/sec
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.churn.G1_Old_Gen.norm
36 thrpt 10 0.001 ± 0.001 B/op
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.count
36 thrpt 10 125.000 counts
SimpleStringInternerBenchmark.guavaInterner3Threads:·gc.time
36 thrpt 10 307.000 ms
```
---