org.openjdk.jmh.annotations
Annotation Type Measurement


@Inherited@Target(value={METHOD,TYPE})@Retention(value=RUNTIME)public @interface Measurement

Measurement annotations allows to set the default measurement parameters for the benchmark.

This annotation may be put at GenerateMicroBenchmark method to have effect on that method only, or at the enclosing class instance to have the effect over all GenerateMicroBenchmark methods in the class. This annotation may be overridden with the runtime options.

See Also:
Warmup


Optional Element Summary
 intbatchSize
           
 intiterations
           
 inttime
           
 TimeUnittimeUnit
           
 

iterations

public abstract int iterations
Returns:
Number of measurement iterations
Default:
-1

time

public abstract int time
Returns:
Time of each measurement iteration
Default:
-1

timeUnit

public abstract TimeUnit timeUnit
Returns:
Time unit for measurement iteration duration
Default:
java.util.concurrent.TimeUnit.SECONDS

batchSize

public abstract int batchSize
Returns:
Batch size: number of benchmark method calls per operation (some benchmark modes may ignore this setting)
Default:
-1


Copyright © 2012-2014
Oracle. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14