Package org.infinispan.cli.benchmark
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 Summary
Constructors Constructor Description BenchmarkOutputFormat(org.aesh.command.shell.Shell out, org.openjdk.jmh.runner.options.VerboseMode verbose)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidendBenchmark(org.openjdk.jmh.results.BenchmarkResult result)voidendRun(Collection<org.openjdk.jmh.results.RunResult> runResults)voidflush()protected static StringgetGroupsString(int g)protected static StringgetThreadsString(int t)voiditeration(org.openjdk.jmh.infra.BenchmarkParams benchmarkParams, org.openjdk.jmh.infra.IterationParams params, int iteration)voiditerationResult(org.openjdk.jmh.infra.BenchmarkParams benchmParams, org.openjdk.jmh.infra.IterationParams params, int iteration, org.openjdk.jmh.results.IterationResult data)voidprint(String s)voidprintln(String s)voidstartBenchmark(org.openjdk.jmh.infra.BenchmarkParams params)voidstartRun()voidverbosePrintln(String s)voidwrite(byte[] b)voidwrite(int b)
-
-
-
Method Detail
-
print
public void print(String s)
- Specified by:
printin interfaceorg.openjdk.jmh.runner.format.OutputFormat
-
println
public void println(String s)
- Specified by:
printlnin interfaceorg.openjdk.jmh.runner.format.OutputFormat
-
flush
public void flush()
- Specified by:
flushin interfaceorg.openjdk.jmh.runner.format.OutputFormat
-
verbosePrintln
public void verbosePrintln(String s)
- Specified by:
verbosePrintlnin interfaceorg.openjdk.jmh.runner.format.OutputFormat
-
write
public void write(int b)
- Specified by:
writein interfaceorg.openjdk.jmh.runner.format.OutputFormat
-
write
public void write(byte[] b)
- Specified by:
writein interfaceorg.openjdk.jmh.runner.format.OutputFormat
-
close
public void close()
- Specified by:
closein interfaceorg.openjdk.jmh.runner.format.OutputFormat
-
startBenchmark
public void startBenchmark(org.openjdk.jmh.infra.BenchmarkParams params)
- Specified by:
startBenchmarkin interfaceorg.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:
iterationin interfaceorg.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:
iterationResultin interfaceorg.openjdk.jmh.runner.format.OutputFormat
-
endBenchmark
public void endBenchmark(org.openjdk.jmh.results.BenchmarkResult result)
- Specified by:
endBenchmarkin interfaceorg.openjdk.jmh.runner.format.OutputFormat
-
startRun
public void startRun()
- Specified by:
startRunin interfaceorg.openjdk.jmh.runner.format.OutputFormat
-
endRun
public void endRun(Collection<org.openjdk.jmh.results.RunResult> runResults)
- Specified by:
endRunin interfaceorg.openjdk.jmh.runner.format.OutputFormat
-
-