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

Vladimir Sitnikov sitnikov.vladimir at gmail.com
Mon Jun 8 12:35:27 UTC 2015


>I wonder if you can simplify it by recognizing you want to
tap into (Options,BenchmarkListEntry) -> BenchmarkParams conversion,

This seems to be a better approach.
Frankly speaking, I was very confused by newBenchmarkParams vs cloneWith.
Currently it makes more sense for me, so I'm just confused (without "very") :)

1) It would be good to be able to use multiple post processors.
For instance, we could add OOB processor that "binds @Threads to
specific param value".
In other words: "-t threadCount" would use the value of "threadCount"
parameter for "number of threads".

Should it be postConfigurator (just set postconfigurator and ignore
others) and postConfiguratorAdd (add configurator to the list)
methods?

2)
getActionPlans uses BenchmarkParams params = newBenchmarkParams(br,
ActionMode.UNDEF);
So PostProcessor sees invalid values for BenchmarkParams#getMeasurement.
This looks like a slight glitch as it exposes "strange values for
getMeasurement and getWarmup)" to the post processor.

Vladimir


More information about the jmh-dev mailing list