Changeset 196443 in webkit
- Timestamp:
- Feb 11, 2016 2:52:40 PM (8 years ago)
- Location:
- trunk/Websites/perf.webkit.org
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Websites/perf.webkit.org/ChangeLog
r196441 r196443 1 2016-02-11 Ryosuke Niwa <rniwa@webkit.org> 2 3 AnalysisResultsViewer never uses this._smallerIsBetter 4 https://bugs.webkit.org/show_bug.cgi?id=154134 5 6 Reviewed by Chris Dumez. 7 8 Removed the unused instance variable _smallerIsBetter from AnalysisResultsViewer and TestGroupStackingBlock. 9 10 * public/v3/components/analysis-results-viewer.js: 11 (AnalysisResultsViewer): Removed the unused _smallerIsBetter. 12 (AnalysisResultsViewer.prototype.setSmallerIsBetter): Deleted. 13 (AnalysisResultsViewer.prototype.buildRowGroups): 14 (AnalysisResultsViewer.TestGroupStackingBlock): Removed the unused _smallerIsBetter. 15 * public/v3/pages/analysis-task-page.js: 16 (AnalysisTaskPage.prototype._didFetchTask): 17 1 18 2016-02-11 Ryosuke Niwa <rniwa@webkit.org> 2 19 -
trunk/Websites/perf.webkit.org/public/v3/components/analysis-results-viewer.js
r194929 r196443 4 4 { 5 5 super('analysis-results-viewer'); 6 this._smallerIsBetter = false;7 6 this._startPoint = null; 8 7 this._endPoint = null; … … 17 16 setTestGroupCallback(callback) { this._testGroupCallback = callback; } 18 17 19 setSmallerIsBetter(smallerIsBetter)20 {21 this._smallerIsBetter = smallerIsBetter;22 this._shouldRenderTable = true;23 }24 25 18 setCurrentTestGroup(testGroup) 26 19 { … … 105 98 if (!block) { 106 99 block = new AnalysisResultsViewer.TestGroupStackingBlock( 107 testGroup, self._ smallerIsBetter, self._classForTestGroup(testGroup), self._openStackingBlock.bind(self, testGroup));100 testGroup, self._classForTestGroup(testGroup), self._openStackingBlock.bind(self, testGroup)); 108 101 testGroupLayoutMap.set(testGroup, block); 109 102 } … … 309 302 310 303 AnalysisResultsViewer.TestGroupStackingBlock = class { 311 constructor(testGroup, smallerIsBetter,className, callback)304 constructor(testGroup, className, callback) 312 305 { 313 306 this._testGroup = testGroup; 314 this._smallerIsBetter = smallerIsBetter;315 307 this._rootSetIndexRowIndexMap = []; 316 308 this._className = className; -
trunk/Websites/perf.webkit.org/public/v3/pages/analysis-task-page.js
r196440 r196443 69 69 var formatter = metric.makeFormatter(4); 70 70 this._analysisResultsViewer.setValueFormatter(formatter); 71 this._analysisResultsViewer.setSmallerIsBetter(metric.isSmallerBetter());72 71 this._testGroupResultsTable.setValueFormatter(formatter); 73 72
Note: See TracChangeset
for help on using the changeset viewer.