Package org.openjdk.jmh.annotations
Annotation Type Threads
-
@Inherited @Target({METHOD,TYPE}) @Retention(RUNTIME) public @interface Threads
Threads annotation provides the default number of threads to run.
This annotation may be put at
Benchmark
method to have effect on that method only, or at the enclosing class instance to have the effect over allBenchmark
methods in the class. This annotation may be overridden with the runtime options.