Package org.openjdk.jmh.annotations
Annotation Type Timeout
Timeout annotation allows to set the default timeout 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.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
time
int time- Returns:
- Timeout for each iteration
-
timeUnit
TimeUnit timeUnit- Returns:
- Time unit for timeout duration
- Default:
SECONDS
-