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.String
label
(package private) java.lang.String
output
private static long
serialVersionUID
-
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.String
extendedInfo()
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.String
toString()
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:Result
Thread aggregator combines the thread results into iteration result.- Specified by:
getThreadAggregator
in classResult<TextResult>
- Returns:
- thread aggregator
-
getIterationAggregator
protected Aggregator<TextResult> getIterationAggregator()
Description copied from class:Result
Iteration aggregator combines the iteration results into benchmar result.- Specified by:
getIterationAggregator
in classResult<TextResult>
- Returns:
- iteration aggregator
-
toString
public java.lang.String toString()
Description copied from class:Result
Result as represented by a String.- Overrides:
toString
in classResult<TextResult>
- Returns:
- String with the result and unit
-
extendedInfo
public java.lang.String extendedInfo()
Description copied from class:Result
Print extended result information- Overrides:
extendedInfo
in classResult<TextResult>
- Returns:
- String with extended info
-
-