org.openjdk.jmh.runner

Class Defaults



  • public class Defaultsextends Object
    JMH global defaults: these are used when no other values are available.
    • Field Detail

      • WARMUP_ITERATIONS

        public static final int WARMUP_ITERATIONS
        Number of warmup iterations.
        See Also:
        Constant Field Values
      • WARMUP_BATCHSIZE

        public static final int WARMUP_BATCHSIZE
        The batch size in warmup mode.
        See Also:
        Constant Field Values
      • WARMUP_TIME

        public static final TimeValue WARMUP_TIME
        The duration of warmup iterations.
      • MEASUREMENT_ITERATIONS

        public static final int MEASUREMENT_ITERATIONS
        Number of measurement iterations.
        See Also:
        Constant Field Values
      • MEASUREMENT_BATCHSIZE

        public static final int MEASUREMENT_BATCHSIZE
        The batch size in measurement mode.
        See Also:
        Constant Field Values
      • MEASUREMENT_TIME

        public static final TimeValue MEASUREMENT_TIME
        The duration of measurement iterations.
      • MEASUREMENT_FORKS

        public static final int MEASUREMENT_FORKS
        Number of forks in which we measure the workload.
        See Also:
        Constant Field Values
      • WARMUP_FORKS

        public static final int WARMUP_FORKS
        Number of warmup forks we discard.
        See Also:
        Constant Field Values
      • FAIL_ON_ERROR

        public static final boolean FAIL_ON_ERROR
        Should JMH fail on benchmark error?
        See Also:
        Constant Field Values
      • SYNC_ITERATIONS

        public static final boolean SYNC_ITERATIONS
        Should JMH synchronize iterations?
        See Also:
        Constant Field Values
      • DO_GC

        public static final boolean DO_GC
        Should JMH do GC between iterations?
        See Also:
        Constant Field Values
      • BENCHMARK_MODE

        public static final Mode BENCHMARK_MODE
        Default running mode.
      • OUTPUT_TIMEUNIT

        public static final TimeUnit OUTPUT_TIMEUNIT
        Default output time unit.
      • OPS_PER_INVOCATION

        public static final Integer OPS_PER_INVOCATION
        Default operations per invocation.
      • TIMEOUT

        public static final TimeValue TIMEOUT
        Default timeout.
    • Constructor Detail

      • Defaults

        public Defaults()

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