|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.test.internal.performance.results.AbstractResults
org.eclipse.test.internal.performance.results.ConfigResults
public class ConfigResults
Class to handle results for an Eclipse performance test box (called a configuration). It gives access to results for each build on which this configuration has been run.
BuildResults
Field Summary |
---|
Fields inherited from class org.eclipse.test.internal.performance.results.AbstractResults |
---|
BOXES, CONFIGS, DEFAULT_DIM, SUPPORTED_DIMS, VERSION, VERSION_REF |
Constructor Summary | |
---|---|
ConfigResults(AbstractResults parent,
int id)
|
Method Summary | |
---|---|
java.lang.String |
getBaselineBuildName()
Returns the baseline build name used to compare results with. |
BuildResults |
getBaselineBuildResults()
Returns the most recent baseline build results. |
BuildResults |
getBaselineBuildResults(java.lang.String buildName)
Return the baseline build results run just before the given build name. |
double |
getBaselineBuildValue()
Returns the most recent baseline build result value. |
BuildResults |
getBuildResults(java.lang.String buildName)
Return the results for the given build name. |
java.util.List |
getBuilds(java.lang.String buildPattern)
Returns the build results matching a given pattern. |
java.util.List |
getBuildsMatchingPrefixes(java.util.List prefixes)
Returns a list of build results which names starts with one of the given prefixes. |
double[] |
getCurrentBuildDeltaInfo()
Return the deviation value and its associated standard error for the default dimension (currently InternalDimensions.ELAPSED_PROCESS ). |
double |
getCurrentBuildError()
Returns the error of the current build results |
java.lang.String |
getCurrentBuildName()
Returns the current build name. |
BuildResults |
getCurrentBuildResults()
Returns the current build results. |
double |
getCurrentBuildValue()
Returns the current build result value. |
double |
getDelta()
Returns the delta between current and baseline builds results. |
java.lang.String |
getDescription()
Returns the configuration description (currently the box name). |
double |
getError()
Returns the standard error of the delta between current and baseline builds results. |
double[] |
getStatistics(java.util.List prefixes)
Get all dimension builds default dimension statistics for a given list of build prefixes. |
double[] |
getStatistics(java.util.List prefixes,
int dim_id)
Get all dimension builds statistics for a given list of build prefixes and a given dimension. |
boolean |
isBaselined()
Returns whether the configuration has results for the performance baseline build or not. |
boolean |
isValid()
Returns whether the configuration has results for the performance current build or not. |
java.util.List |
lastNightlyBuildNames(int n)
Returns the 'n' last nightly build names. |
Methods inherited from class org.eclipse.test.internal.performance.results.AbstractResults |
---|
compareTo, copyFile, equals, getBuildDate, getBuildDate, getChildren, getName, getParent, getResults, hashCode, size, timeChrono, timeEnd, timeString, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConfigResults(AbstractResults parent, int id)
Method Detail |
---|
public java.lang.String getBaselineBuildName()
getBaselineBuildResults()
public BuildResults getBaselineBuildResults()
baseline build results
.BuildResults
public BuildResults getBaselineBuildResults(java.lang.String buildName)
buildName
- The build name
baseline results
preceeding the given build name
or null
if none was found.public double getBaselineBuildValue()
public java.lang.String getDescription()
public BuildResults getBuildResults(java.lang.String buildName)
buildName
- The build name
results
for the given build name
or null
if none was found.public java.util.List getBuilds(java.lang.String buildPattern)
buildPattern
- The pattern of searched builds
public java.util.List getBuildsMatchingPrefixes(java.util.List prefixes)
prefixes
- List of expected prefixes
public double[] getCurrentBuildDeltaInfo()
InternalDimensions.ELAPSED_PROCESS
).
public double getCurrentBuildError()
public java.lang.String getCurrentBuildName()
getCurrentBuildResults()
public BuildResults getCurrentBuildResults()
This build is currently the last integration or nightly
build which has performance results in the database.
It may differ from the PerformanceResults.getName()
.
BuildResults
public double getCurrentBuildValue()
public double getDelta()
public double getError()
getDelta()
public double[] getStatistics(java.util.List prefixes)
prefixes
- List of prefixes to filter builds. If null
then all the builds are taken to compute statistics.
public double[] getStatistics(java.util.List prefixes, int dim_id)
prefixes
- List of prefixes to filter builds. If null
then all the builds are taken to compute statistics.dim_id
- The id of the dimension on which the statistics must be computed
public boolean isBaselined()
true
if the configuration has results
for the performance baseline build, false
otherwise.public boolean isValid()
true
if the configuration has results
for the performance current build, false
otherwise.public java.util.List lastNightlyBuildNames(int n)
n
- Number of last nightly builds to return
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |