Multi-package benchmarks: package names 'merged' in the result table

Aleksey Shipilev aleksey.shipilev at oracle.com
Mon Aug 11 22:25:36 UTC 2014


Hi Dmitry,

On 08/12/2014 02:07 AM, Dmitry Vyazelenko wrote:
> When using JMH with benchmarks located in multiple/different benchmarks
> the results are incorrectly merged together.
> 
> So instead of using package name from every benchmark class it seems that
> "test.jmh.TestJmhBenchmark" is used as prefix for all benchmarks which is wrong!

Thanks for the bug report! Indeed, this is a bug in class name
shortener. Should be working properly with:
 http://hg.openjdk.java.net/code-tools/jmh/rev/22d06efe91cb

-Aleksey.




More information about the jmh-dev mailing list