Class AbstractMicrobenchmarkBase

    • Field Detail

      • DEFAULT_WARMUP_ITERATIONS

        protected static final int DEFAULT_WARMUP_ITERATIONS
        See Also:
        Constant Field Values
      • DEFAULT_MEASURE_ITERATIONS

        protected static final int DEFAULT_MEASURE_ITERATIONS
        See Also:
        Constant Field Values
      • BASE_JVM_ARGS

        protected static final String[] BASE_JVM_ARGS
    • Constructor Detail

      • AbstractMicrobenchmarkBase

        public AbstractMicrobenchmarkBase()
    • Method Detail

      • newOptionsBuilder

        protected org.openjdk.jmh.runner.options.ChainedOptionsBuilder newOptionsBuilder()
                                                                                  throws Exception
        Throws:
        Exception
      • jvmArgs

        protected abstract String[] jvmArgs()
      • removeAssertions

        protected static String[] removeAssertions​(String[] jvmArgs)
      • getWarmupIterations

        protected int getWarmupIterations()
      • getMeasureIterations

        protected int getMeasureIterations()
      • getReportDir

        protected String getReportDir()
      • handleUnexpectedException

        public static void handleUnexpectedException​(Throwable t)