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
ConstructorsConstructorDescriptionBenchmarkOutputFormat(org.aesh.command.shell.Shell out, org.openjdk.jmh.runner.options.VerboseMode verbose) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()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) voidvoidvoidstartBenchmark(org.openjdk.jmh.infra.BenchmarkParams params) voidstartRun()voidvoidwrite(byte[] b) voidwrite(int b)
-
Constructor Details
-
BenchmarkOutputFormat
public BenchmarkOutputFormat(org.aesh.command.shell.Shell out, org.openjdk.jmh.runner.options.VerboseMode verbose)
-
-
Method Details
-
print
- Specified by:
printin interfaceorg.openjdk.jmh.runner.format.OutputFormat
-
println
- Specified by:
printlnin interfaceorg.openjdk.jmh.runner.format.OutputFormat
-
flush
public void flush()- Specified by:
flushin interfaceorg.openjdk.jmh.runner.format.OutputFormat
-
verbosePrintln
- 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
-
getGroupsString
-
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
- Specified by:
endRunin interfaceorg.openjdk.jmh.runner.format.OutputFormat
-