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