Ability to add "jvm arguments" based on "@Param"

Vladimir Sitnikov sitnikov.vladimir at gmail.com
Fri Jun 5 08:08:05 UTC 2015


rrr.

I want the following:  java -jar benchmarks.jar.
It runs several combinations of the parameters, and for each
combination it sets relevant operationsPerInvocation.

I do like how set of parameters to test can be specified at the command line.
I do not want reimplementing my own
org.openjdk.jmh.runner.Runner#explodeAllParams
I do want to get all the results in the same report table.

On top of that, it would be great if jmh could use certain parameter
as a "treatment" boolean, so it pivots "before"/"after" measurements
to "before"/"after" columns. That's a bit different story, but I think
it is rather simple/common use case.

Vladimir


More information about the jmh-dev mailing list