Class SilentFormat
java.lang.Object
org.openjdk.jmh.runner.format.AbstractOutputFormat
org.openjdk.jmh.runner.format.SilentFormat
- All Implemented Interfaces:
OutputFormat
Silent format, does nothing.
-
Field Summary
Fields inherited from class AbstractOutputFormat
out, verbose -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendBenchmark(BenchmarkResult result) Format for end-of-benchmark.voidendRun(Collection<RunResult> results) Format for end-of-benchmark.voiditeration(BenchmarkParams benchmarkParams, IterationParams params, int iteration) Format for iteration start.voiditerationResult(BenchmarkParams benchmarkParams, IterationParams params, int iteration, IterationResult data) Format for end-of-iteration.voidvoidvoidstartBenchmark(BenchmarkParams benchmarkParams) Format for start-of-benchmark output.voidstartRun()Format for start-of-benchmark output.voidMethods inherited from class AbstractOutputFormat
close, flush, write, write
-
Constructor Details
-
SilentFormat
-
-
Method Details
-
startRun
public void startRun()Description copied from interface:OutputFormatFormat for start-of-benchmark output. -
endRun
Description copied from interface:OutputFormatFormat for end-of-benchmark.- Parameters:
results- benchmark results
-
startBenchmark
Description copied from interface:OutputFormatFormat for start-of-benchmark output.- Parameters:
benchmarkParams- benchmark params
-
endBenchmark
Description copied from interface:OutputFormatFormat for end-of-benchmark.- Parameters:
result- statistics of the run
-
iteration
Description copied from interface:OutputFormatFormat for iteration start.- Parameters:
benchmarkParams- benchmark parametersparams- iteration params in useiteration- iteration-number
-
iterationResult
public void iterationResult(BenchmarkParams benchmarkParams, IterationParams params, int iteration, IterationResult data) Description copied from interface:OutputFormatFormat for end-of-iteration.- Parameters:
benchmarkParams- name of benchmarkparams- iteration params in useiteration- iteration-numberdata- result of iteration
-
print
- Specified by:
printin interfaceOutputFormat- Overrides:
printin classAbstractOutputFormat
-
println
- Specified by:
printlnin interfaceOutputFormat- Overrides:
printlnin classAbstractOutputFormat
-
verbosePrintln
- Specified by:
verbosePrintlnin interfaceOutputFormat- Overrides:
verbosePrintlnin classAbstractOutputFormat
-