Class TextReportFormat

java.lang.Object
org.openjdk.jmh.runner.format.AbstractOutputFormat
org.openjdk.jmh.runner.format.TextReportFormat
All Implemented Interfaces:
OutputFormat

class TextReportFormat extends AbstractOutputFormat
TextReportFormat implementation of OutputFormat.
  • Constructor Details

  • Method Details

    • startBenchmark

      public void startBenchmark(BenchmarkParams params)
      Description copied from interface: OutputFormat
      Format for start-of-benchmark output.
      Parameters:
      params - benchmark params
    • iteration

      public void iteration(BenchmarkParams benchmarkParams, IterationParams params, int iteration)
      Description copied from interface: OutputFormat
      Format for iteration start.
      Parameters:
      benchmarkParams - benchmark parameters
      params - iteration params in use
      iteration - iteration-number
    • getThreadsString

      protected static String getThreadsString(int t)
    • getGroupsString

      protected static String getGroupsString(int g)
    • iterationResult

      public void iterationResult(BenchmarkParams benchmParams, IterationParams params, int iteration, IterationResult data)
      Description copied from interface: OutputFormat
      Format for end-of-iteration.
      Parameters:
      benchmParams - name of benchmark
      params - iteration params in use
      iteration - iteration-number
      data - result of iteration
    • endBenchmark

      public void endBenchmark(BenchmarkResult result)
      Description copied from interface: OutputFormat
      Format for end-of-benchmark.
      Parameters:
      result - statistics of the run
    • startRun

      public void startRun()
      Description copied from interface: OutputFormat
      Format for start-of-benchmark output.
    • endRun

      public void endRun(Collection<RunResult> runResults)
      Description copied from interface: OutputFormat
      Format for end-of-benchmark.
      Parameters:
      runResults - benchmark results