public class TrendTestConfiguration
Represents the configuration of a single trend performance test
| Constructor and Description |
|---|
TrendTestConfiguration(int sampleSize,
double averageTimeThreshold,
boolean useStandardDeviationAsThreshold,
SelectionStrategy sampleSelectionStrategy,
double noisePercentile)
Represents the configuration of a single trend performance test
|
| Modifier and Type | Method and Description |
|---|---|
int |
component1()
Sample size which will be used for trend analysis
|
double |
component2()
Static average time threshold.
|
boolean |
component3()
if true - use the sample variance as an average time threshold
|
SelectionStrategy |
component4()
Defines the strategy for sample selection
|
double |
component5()
Only result from given percentile are counted for trend tests,
|
TrendTestConfiguration |
copy(int sampleSize,
double averageTimeThreshold,
boolean useStandardDeviationAsThreshold,
SelectionStrategy sampleSelectionStrategy,
double noisePercentile)
Represents the configuration of a single trend performance test
|
boolean |
equals(java.lang.Object p) |
double |
getAverageTimeThreshold()
Static average time threshold.
|
double |
getNoisePercentile()
Only result from given percentile are counted for trend tests,
|
SelectionStrategy |
getSampleSelectionStrategy()
Defines the strategy for sample selection
|
int |
getSampleSize()
Sample size which will be used for trend analysis
|
boolean |
getUseStandardDeviationAsThreshold()
if true - use the sample variance as an average time threshold
|
int |
hashCode() |
java.lang.String |
toString() |
public TrendTestConfiguration(int sampleSize,
double averageTimeThreshold,
boolean useStandardDeviationAsThreshold,
SelectionStrategy sampleSelectionStrategy,
double noisePercentile)
Represents the configuration of a single trend performance test
sampleSize - Sample size which will be used for trend analysisaverageTimeThreshold - Static average time threshold.
Performance trend test will fail if average execution time is greater than sample average time plus given threshold
useStandardDeviationAsThreshold - if true - use the sample variance as an average time threshold
Performance trend test will fail if average execution time is greater than sample average time plus its variance
sampleSelectionStrategy - Defines the strategy for sample selectionnoisePercentile - Only result from given percentile are counted for trend tests, thus ignoring highest deviationspublic int getSampleSize()
Sample size which will be used for trend analysis
public double getAverageTimeThreshold()
Static average time threshold.
Performance trend test will fail if average execution time is greater than sample average time plus given threshold
public boolean getUseStandardDeviationAsThreshold()
if true - use the sample variance as an average time threshold
Performance trend test will fail if average execution time is greater than sample average time plus its variance
public SelectionStrategy getSampleSelectionStrategy()
Defines the strategy for sample selection
public double getNoisePercentile()
Only result from given percentile are counted for trend tests,
thus ignoring highest deviations
public int component1()
Sample size which will be used for trend analysis
public double component2()
Static average time threshold.
Performance trend test will fail if average execution time is greater than sample average time plus given threshold
public boolean component3()
if true - use the sample variance as an average time threshold
Performance trend test will fail if average execution time is greater than sample average time plus its variance
public SelectionStrategy component4()
Defines the strategy for sample selection
public double component5()
Only result from given percentile are counted for trend tests,
thus ignoring highest deviations
public TrendTestConfiguration copy(int sampleSize, double averageTimeThreshold, boolean useStandardDeviationAsThreshold, SelectionStrategy sampleSelectionStrategy, double noisePercentile)
Represents the configuration of a single trend performance test
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)