Bug 89804 - [results] Support rendering of absolute thresholds in summaries
Summary: [results] Support rendering of absolute thresholds in summaries
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Releng (show other bugs)
Version: 3.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on: 270834
Blocks: 217126
  Show dependency tree
 
Reported: 2005-03-31 05:56 EST by Andre Weinand CLA
Modified: 2022-02-03 15:48 EST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Weinand CLA 2005-03-31 05:56:02 EST
for some tests an absolute threshold should be used, i.e., switching a perspective should not be slower 
than 100ms. This is supported in the tests infrastructure (assertPerformanceInAbsoluteBand()), but 
there is currently no way to render these tests in a summary.
Comment 1 Sonia Dimitrov CLA 2005-04-06 13:46:34 EDT
What do you think about using a line graph represent this?  We could draw a 
horizontal line across the graph to represent the threshold value then plot 
points in green or red depending on where it falls in relation to the 
threshold.
Comment 2 Andre Weinand CLA 2006-06-01 18:36:12 EDT
from my side nothing is planned for 3.2
Comment 3 Sonia Dimitrov CLA 2007-04-13 15:32:43 EDT
Closing.
Comment 4 Frederic Fusier CLA 2009-04-07 02:50:39 EDT
I'll try to figure out what can be done for this...
Comment 5 Markus Keller CLA 2009-04-15 10:33:47 EDT
> This is supported in the tests infrastructure
> (assertPerformanceInAbsoluteBand()), but 
> there is currently no way to render these tests in a summary.

It's not only about the summary/fingerprint. 

Performance#assertPerformanceInAbsoluteBand(..) does not seem to be used in the test results table as well. E.g. on
http://download.eclipse.org/eclipse/downloads/drops/I20090414-0800/performance/org.eclipse.jdt.ui.php?fp_type=0
, the test PackageExplorerWarmPerfTest#testOpen() ends with this:
		Performance.getDefault().assertPerformanceInAbsoluteBand(fPerformanceMeter, Dimension.ELAPSED_PROCESS, 0, 500);

But the test still gets an X in the table and the hover says: Performance criteria not met when compared to 'R-3.4-200806172000_200904101800': Elapsed Process= 80ms is not within [0%, 110'%] of 70ms".
Comment 6 Markus Keller CLA 2009-04-15 10:59:20 EDT
I also think the implementation of the lower band in AbsoluteBandChecker#test(..) is wrong:

if (actual > fUpperBand + test || actual < test - fLowerBand) {
	message.append( ... + " is not within [-" + dimension.getDisplayValue(new Scalar(null, fLowerBand)) + ... );
	return false;
}

The Javadoc of Performance#assertPerformanceInAbsoluteBand(..) says:

 * @param lowerBand a negative number indicating the absolute amount the measured value is allowed to be smaller than some reference value
 * @param upperBand a positive number indicating the absolute amount the measured value is allowed to be greater than some reference value

=> Javadoc says lowerBand should be negative, but the implementation assumes fLowerBand is positive.
Comment 7 Eclipse Webmaster CLA 2019-09-06 15:35:06 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 8 Alexander Kurtakov CLA 2022-02-03 15:48:53 EST
Perf tests need to publish results first in order to see current state and improve after that. 12 years old bugs are not helpful