Bug 130483

Summary: Add option for hiding Confidence Interval Delta on the performance tests results page
Product: WebKit Reporter: Zoltan Horvath <zoltan>
Component: Tools / TestsAssignee: Zoltan Horvath <zoltan>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 77037    
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Zoltan Horvath
Reported 2014-03-19 15:37:49 PDT
I've found it useful to hide the confidence interval delta from the results table sometimes, for example on copying data, or for clearer look. This patch introduces a new button for it on the local results page.
Attachments
Patch (5.79 KB, patch)
2014-03-19 15:42 PDT, Zoltan Horvath
no flags
Patch (4.88 KB, patch)
2014-03-20 09:28 PDT, Zoltan Horvath
no flags
Patch (5.73 KB, patch)
2014-03-20 18:00 PDT, Zoltan Horvath
no flags
Zoltan Horvath
Comment 1 2014-03-19 15:42:31 PDT
Ryosuke Niwa
Comment 2 2014-03-20 00:24:39 PDT
Comment on attachment 227227 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=227227&action=review > PerformanceTests/resources/results-template.html:600 > + function clearConfidenceIntervalDeltaBit() { > + $('#confidenceIntervalDelta').children().addClass('checked'); > + $('#confidenceIntervalDelta').children().last().removeClass('checked'); > + } I don't think it makes sense to reset this switch. We should construct the view preserving this value. > PerformanceTests/resources/results-template.html:619 > + hideConfidenceIntervalDelta = checkedElement.textContent == 'Hide'; Missing var.
Zoltan Horvath
Comment 3 2014-03-20 09:28:12 PDT
Created attachment 227297 [details] Patch (In reply to comment #2) > I don't think it makes sense to reset this switch. We should construct the view preserving this value. I was thinking on the best behavior. It makes sense to preserve it too. I modified the patch.
Ryosuke Niwa
Comment 4 2014-03-20 16:06:50 PDT
Comment on attachment 227297 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=227297&action=review > PerformanceTests/resources/results-template.html:395 > + var hideConfidenceIntervalDelta = $('#confidenceIntervalDelta').children().last().hasClass('checked'); > + See what we're doing for '#time-memory'. 586 $('#time-memory').bind('change', function (event, checkedElement) { 587 shouldIgnoreMemory = checkedElement.textContent == 'Time'; 588 createTable(metrics, runs, shouldIgnoreMemory, referenceIndex); 589 });
Zoltan Horvath
Comment 5 2014-03-20 18:00:13 PDT
Created attachment 227365 [details] Patch I modified it as we've got it for the memory-switcher.
WebKit Commit Bot
Comment 6 2014-03-20 21:05:34 PDT
Comment on attachment 227365 [details] Patch Clearing flags on attachment: 227365 Committed r166038: <http://trac.webkit.org/changeset/166038>
WebKit Commit Bot
Comment 7 2014-03-20 21:05:39 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.