public JPut
TODO list:
Timeout when max time is not set
Self warm up
Logging
Helper functions for JPut users to control the perf tests execution
| Modifier and Type | Method and Description |
|---|---|
void |
markPerformanceTestStart()
This function may be called directly from the performance test to tell JPut that measurement must start from this point,
i.e. not from the beginning of the method. This might be useful when performance test makes some expensive initialization first.
|
void markPerformanceTestStart()
This function may be called directly from the performance test to tell JPut that measurement must start from this point, i.e. not from the beginning of the method. This might be useful when performance test makes some expensive initialization first.
For example:
@PerformanceTest(...)
public void myPerfTest(JPut jPut) {
prepareTestData(); // takes some time...
jPut.markPerformanceTestStart(); // Ignore time took by the init
// and here goes the code which will really be measured
...
}