Package org.openjdk.jmh.results
Class RunResult
- java.lang.Object
-
- org.openjdk.jmh.results.RunResult
-
- All Implemented Interfaces:
java.io.Serializable
public class RunResult extends java.lang.Object implements java.io.Serializable
Complete run result. Contains the iteration results.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Collection<BenchmarkResult>
benchmarkResults
static java.util.Comparator<RunResult>
DEFAULT_SORT_COMPARATOR
private BenchmarkParams
params
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description RunResult(BenchmarkParams params, java.util.Collection<BenchmarkResult> data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BenchmarkResult
getAggregatedResult()
Return the benchmark result, as if all iterations from all sub-benchmark results were merged in a single result.java.util.Collection<BenchmarkResult>
getBenchmarkResults()
BenchmarkParams
getParams()
Result
getPrimaryResult()
java.util.Map<java.lang.String,Result>
getSecondaryResults()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
benchmarkResults
private final java.util.Collection<BenchmarkResult> benchmarkResults
-
params
private final BenchmarkParams params
-
DEFAULT_SORT_COMPARATOR
public static final java.util.Comparator<RunResult> DEFAULT_SORT_COMPARATOR
-
-
Constructor Detail
-
RunResult
public RunResult(BenchmarkParams params, java.util.Collection<BenchmarkResult> data)
-
-
Method Detail
-
getBenchmarkResults
public java.util.Collection<BenchmarkResult> getBenchmarkResults()
-
getPrimaryResult
public Result getPrimaryResult()
-
getSecondaryResults
public java.util.Map<java.lang.String,Result> getSecondaryResults()
-
getAggregatedResult
public BenchmarkResult getAggregatedResult()
Return the benchmark result, as if all iterations from all sub-benchmark results were merged in a single result.- Returns:
- merged benchmark result
-
getParams
public BenchmarkParams getParams()
-
-