Package org.openjdk.jmh.annotations
Annotation Type Warmup
-
@Target({METHOD,TYPE}) @Retention(RUNTIME) @Inherited public @interface Warmup
Warmup annotation allows to set the default warmup parameters for the benchmark.
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.- See Also:
Measurement
-
-
Field Summary
Fields Modifier and Type Fields Description static intBLANK_BATCHSIZEstatic intBLANK_ITERATIONSstatic intBLANK_TIME
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description intbatchSizeintiterationsinttimeTimeUnittimeUnit
-
-
-
-
timeUnit
TimeUnit timeUnit
- Returns:
- Time unit for warmup iteration duration
- Default:
- java.util.concurrent.TimeUnit.SECONDS
-
-