Package org.openjdk.jmh.results
Class TextResult
- java.lang.Object
-
- org.openjdk.jmh.results.Result<TextResult>
-
- org.openjdk.jmh.results.TextResult
-
- All Implemented Interfaces:
Serializable
public class TextResult extends Result<TextResult>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.openjdk.jmh.results.Result
policy, role, statistics, unit
-
-
Constructor Summary
Constructors Constructor Description TextResult(String output, String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringextendedInfo()Print extended result informationprotected Aggregator<TextResult>getIterationAggregator()Iteration aggregator combines the iteration results into benchmar result.protected Aggregator<TextResult>getThreadAggregator()Thread aggregator combines the thread results into iteration result.StringtoString()Result as represented by a String.-
Methods inherited from class org.openjdk.jmh.results.Result
distributionExtendedInfo, getDerivativeResults, getLabel, getRole, getSampleCount, getScore, getScoreConfidence, getScoreError, getScoreUnit, getStatistics, getZeroResult, of, simpleExtendedInfo
-
-
-
-
Method Detail
-
getThreadAggregator
protected Aggregator<TextResult> getThreadAggregator()
Description copied from class:ResultThread aggregator combines the thread results into iteration result.- Specified by:
getThreadAggregatorin classResult<TextResult>- Returns:
- thread aggregator
-
getIterationAggregator
protected Aggregator<TextResult> getIterationAggregator()
Description copied from class:ResultIteration aggregator combines the iteration results into benchmar result.- Specified by:
getIterationAggregatorin classResult<TextResult>- Returns:
- iteration aggregator
-
toString
public String toString()
Description copied from class:ResultResult as represented by a String.- Overrides:
toStringin classResult<TextResult>- Returns:
- String with the result and unit
-
extendedInfo
public String extendedInfo()
Description copied from class:ResultPrint extended result information- Overrides:
extendedInfoin classResult<TextResult>- Returns:
- String with extended info
-
-