Package org.openjdk.jmh.annotations
Annotation Type BenchmarkMode
-
@Inherited @Target({METHOD,TYPE}) @Retention(RUNTIME) public @interface BenchmarkModeBenchmark mode declares the default modes in which this benchmark would run. See
Modefor available benchmark modes.This annotation may be put at
Benchmarkmethod to have effect on that method only, or at the enclosing class instance to have the effect over allBenchmarkmethods in the class. This annotation may be overridden with the runtime options.