|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.carrotsearch.junitbenchmarks.Result
public final class Result
A result of a single benchmark test.
Field Summary | |
---|---|
int |
benchmarkRounds
|
long |
benchmarkTime
|
Average |
gcAverage
|
GCSnapshot |
gcInfo
|
BenchmarkOptions |
options
|
Average |
roundAverage
|
int |
warmupRounds
|
long |
warmupTime
|
Constructor Summary | |
---|---|
Result(Object target,
org.junit.runners.model.FrameworkMethod method,
BenchmarkOptions options,
int benchmarkRounds,
int warmupRounds,
long warmupTime,
long benchmarkTime,
Average roundAverage,
Average gcAverage,
GCSnapshot gcInfo)
|
Method Summary | |
---|---|
String |
getShortTestClassName()
Returns the short version of the test's class. |
Class<?> |
getTestClass()
Returns the class under test. |
String |
getTestClassName()
Returns the long version of the test's class. |
Method |
getTestMethod()
Returns the method under test. |
String |
getTestMethodName()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final int benchmarkRounds
public final int warmupRounds
public final long warmupTime
public final long benchmarkTime
public final Average roundAverage
public final Average gcAverage
public final GCSnapshot gcInfo
public final BenchmarkOptions options
Constructor Detail |
---|
public Result(Object target, org.junit.runners.model.FrameworkMethod method, BenchmarkOptions options, int benchmarkRounds, int warmupRounds, long warmupTime, long benchmarkTime, Average roundAverage, Average gcAverage, GCSnapshot gcInfo)
target
- Target object (test).method
- Target tested method.benchmarkRounds
- Number of executed benchmark rounds.warmupRounds
- Number of warmup rounds.warmupTime
- Total warmup time, includes benchmarking and GC overhead.benchmarkTime
- Total benchmark time, includes benchmarking and GC overhead.roundAverage
- Average and standard deviation from benchmark rounds.gcAverage
- Average and standard deviation from GC cleanups.gcInfo
- Extra information about GC activity.Method Detail |
---|
public String getShortTestClassName()
public String getTestClassName()
public String getTestMethodName()
public Class<?> getTestClass()
public Method getTestMethod()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |