@Target(value={METHOD,TYPE}) @Retention(value=RUNTIME) @Inherited public @interface Warmup
Warmup annotation allows to set the default warmup parameters for the benchmark.
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 all Benchmark
methods in the class. This annotation may be overridden with the runtime options.
Measurement
Modifier and Type | Fields and Description |
---|---|
static int |
BLANK_BATCHSIZE |
static int |
BLANK_ITERATIONS |
static int |
BLANK_TIME |
Modifier and Type | Optional Element and Description |
---|---|
int |
batchSize |
int |
iterations |
int |
time |
TimeUnit |
timeUnit |
public abstract int iterations
public abstract TimeUnit timeUnit
Copyright © 2012–2020 Oracle. All rights reserved.