Is it possible to filter parameters space?

Lev Serebryakov lev at serebryakov.spb.ru
Tue Oct 4 11:24:52 UTC 2016


On 04.10.2016 13:44, Aleksey Shipilev wrote:

> 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.
  I thought about something like

 @StateFilter
 boolean doWeNeedTestThisStaty() {
  ...
 }

 on state object. Not pure-annotation solution.

>  https://bugs.openjdk.java.net/browse/CODETOOLS-7901296
  Yep, something like this! :)

-- 
// Black Lion AKA Lev Serebryakov



More information about the jmh-dev mailing list