Is it possible to filter parameters space?
Aleksey Shipilev
shade at redhat.com
Tue Oct 4 10:44:38 UTC 2016
On 10/03/2016 08:07 PM, Lev Serebryakov wrote:
> JMH have very handy @Param annotation, which allows to easily arrange
> multiple benchmarks across multi-dimension parameters space. But
> sometimes SOME combination of parameters doesn't have meaning for
> benchmark, or simply excessive.
It is not possible now with annotations, but you can always make the
Java API launcher and traverse the parameter space in any way you want.
Extending JMH with more control creates another DSL over annotations,
and it could be easier to set up an advanced experiment in plain Java to
begin with. This is what Java API is for.
See also:
https://bugs.openjdk.java.net/browse/CODETOOLS-7901296
-Aleksey
More information about the jmh-dev
mailing list