Package org.openjdk.jmh.results
Class TextResult
- java.lang.Object
-
- org.openjdk.jmh.results.Result<TextResult>
-
- org.openjdk.jmh.results.TextResult
-
- All Implemented Interfaces:
java.io.Serializable
public class TextResult extends Result<TextResult>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openjdk.jmh.results.Result
Result.LazyProps
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.Stringlabel(package private) java.lang.Stringoutputprivate static longserialVersionUID-
Fields inherited from class org.openjdk.jmh.results.Result
policy, role, statistics, unit
-
-
Constructor Summary
Constructors Constructor Description TextResult(java.lang.String output, java.lang.String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.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.java.lang.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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
output
final java.lang.String output
-
label
final java.lang.String label
-
-
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 java.lang.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 java.lang.String extendedInfo()
Description copied from class:ResultPrint extended result information- Overrides:
extendedInfoin classResult<TextResult>- Returns:
- String with extended info
-
-