Class BenchmarkOutputFormat

java.lang.Object
org.infinispan.cli.benchmark.BenchmarkOutputFormat
All Implemented Interfaces:
org.openjdk.jmh.runner.format.OutputFormat

public class BenchmarkOutputFormat extends Object implements org.openjdk.jmh.runner.format.OutputFormat
  • Constructor Details

    • BenchmarkOutputFormat

      public BenchmarkOutputFormat(org.aesh.command.shell.Shell out, org.openjdk.jmh.runner.options.VerboseMode verbose)
  • Method Details

    • print

      public void print(String s)
      Specified by:
      print in interface org.openjdk.jmh.runner.format.OutputFormat
    • println

      public void println(String s)
      Specified by:
      println in interface org.openjdk.jmh.runner.format.OutputFormat
    • flush

      public void flush()
      Specified by:
      flush in interface org.openjdk.jmh.runner.format.OutputFormat
    • verbosePrintln

      public void verbosePrintln(String s)
      Specified by:
      verbosePrintln in interface org.openjdk.jmh.runner.format.OutputFormat
    • write

      public void write(int b)
      Specified by:
      write in interface org.openjdk.jmh.runner.format.OutputFormat
    • write

      public void write(byte[] b)
      Specified by:
      write in interface org.openjdk.jmh.runner.format.OutputFormat
    • close

      public void close()
      Specified by:
      close in interface org.openjdk.jmh.runner.format.OutputFormat
    • startBenchmark

      public void startBenchmark(org.openjdk.jmh.infra.BenchmarkParams params)
      Specified by:
      startBenchmark in interface org.openjdk.jmh.runner.format.OutputFormat
    • iteration

      public void iteration(org.openjdk.jmh.infra.BenchmarkParams benchmarkParams, org.openjdk.jmh.infra.IterationParams params, int iteration)
      Specified by:
      iteration in interface org.openjdk.jmh.runner.format.OutputFormat
    • getThreadsString

      protected static String getThreadsString(int t)
    • getGroupsString

      protected static String getGroupsString(int g)
    • iterationResult

      public void iterationResult(org.openjdk.jmh.infra.BenchmarkParams benchmParams, org.openjdk.jmh.infra.IterationParams params, int iteration, org.openjdk.jmh.results.IterationResult data)
      Specified by:
      iterationResult in interface org.openjdk.jmh.runner.format.OutputFormat
    • endBenchmark

      public void endBenchmark(org.openjdk.jmh.results.BenchmarkResult result)
      Specified by:
      endBenchmark in interface org.openjdk.jmh.runner.format.OutputFormat
    • startRun

      public void startRun()
      Specified by:
      startRun in interface org.openjdk.jmh.runner.format.OutputFormat
    • endRun

      public void endRun(Collection<org.openjdk.jmh.results.RunResult> runResults)
      Specified by:
      endRun in interface org.openjdk.jmh.runner.format.OutputFormat