Package org.openjdk.jmh.runner.format
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.
-
-
Field Summary
-
Fields inherited from class org.openjdk.jmh.runner.format.AbstractOutputFormat
out, verbose
-
-
Constructor Summary
Constructors Constructor Description TextReportFormat(java.io.PrintStream out, VerboseMode verbose)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endBenchmark(BenchmarkResult result)
Format for end-of-benchmark.void
endRun(java.util.Collection<RunResult> runResults)
Format for end-of-benchmark.protected static java.lang.String
getGroupsString(int g)
protected static java.lang.String
getThreadsString(int t)
void
iteration(BenchmarkParams benchmarkParams, IterationParams params, int iteration)
Format for iteration start.void
iterationResult(BenchmarkParams benchmParams, IterationParams params, int iteration, IterationResult data)
Format for end-of-iteration.void
startBenchmark(BenchmarkParams params)
Format for start-of-benchmark output.void
startRun()
Format for start-of-benchmark output.-
Methods inherited from class org.openjdk.jmh.runner.format.AbstractOutputFormat
close, flush, print, println, verbosePrintln, write, write
-
-
-
-
Constructor Detail
-
TextReportFormat
public TextReportFormat(java.io.PrintStream out, VerboseMode verbose)
-
-
Method Detail
-
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 parametersparams
- iteration params in useiteration
- iteration-number
-
getThreadsString
protected static java.lang.String getThreadsString(int t)
-
getGroupsString
protected static java.lang.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 benchmarkparams
- iteration params in useiteration
- iteration-numberdata
- 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(java.util.Collection<RunResult> runResults)
Description copied from interface:OutputFormat
Format for end-of-benchmark.- Parameters:
runResults
- benchmark results
-
-