org.openjdk.jmh.annotations

Annotation Type Warmup



  • @Target(value={METHOD,TYPE})@Retention(value=RUNTIME)@Inheritedpublic @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.

    See Also:
    Measurement
    • Element Detail

      • iterations

        public abstract int iterations
        Returns:
        Number of warmup iterations
        Default:
        -1
      • time

        public abstract int time
        Returns:
        Time for each warmup iteration
        Default:
        -1
      • timeUnit

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

        public abstract int batchSize
        Returns:
        batch size: number of benchmark method calls per operation
        Default:
        -1

Copyright © 2012-2015 Oracle. All Rights Reserved.



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