Support multiple BenchmarkMode
Francesco Nigro
nigro.fra at gmail.com
Tue May 21 16:06:38 UTC 2019
Hi!
Given that Throughput and AverageTime benchmark modes are 2 views of the
same data, would be possible to get both on the benchmark results?
eg:
@BenchmarkMode(Mode.AverageTimeAndThroughput)
...
or
@BenchmarkMode({Mode.AverageTime, Mode.Throughput})
Benchmark (numItems) Mode Cnt Score Error
Units
my_benchmark 10 avgt 10 1 ± 0
s/op
my_benchmark 10 thrpt 10 1 ± 0
ops/s
Thanks for this awesome tool!
Cheers,
Franz
More information about the jmh-dev
mailing list