Changeset 222123 in webkit
- Timestamp:
- Sep 15, 2017 6:11:27 PM (7 years ago)
- Location:
- trunk/Websites/perf.webkit.org
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Websites/perf.webkit.org/ChangeLog
r221871 r222123 1 2017-09-15 Dewei Zhu <dewei_zhu@apple.com> 2 3 Should not mark a platform as missing in summary page if all expecting metrics are exlucded. 4 https://bugs.webkit.org/show_bug.cgi?id=176970 5 6 Reviewed by Ryosuke Niwa. 7 8 In summary page, if all metrics for a test are excluded in excludedConfigurations for a platform, this platform should not be marked as missing. 9 10 * public/v3/pages/summary-page.js: 11 (SummaryPageConfigurationGroup): 12 1 13 2017-09-11 Ryosuke Niwa <rniwa@webkit.org> 2 14 -
trunk/Websites/perf.webkit.org/public/v3/pages/summary-page.js
r214280 r222123 260 260 this._smallerIsBetter = metrics.length ? metrics[0].isSmallerBetter() : null; 261 261 262 for ( varplatform of platforms) {262 for (const platform of platforms) { 263 263 console.assert(platform instanceof Platform); 264 var foundInSomeMetric = false; 265 for (var metric of metrics) { 264 let foundInSomeMetric = false; 265 let excludedMerticCount = 0; 266 for (const metric of metrics) { 266 267 console.assert(metric instanceof Metric); 267 268 console.assert(this._smallerIsBetter == metric.isSmallerBetter()); 268 269 metric.isSmallerBetter(); 269 270 270 if (excludedConfigurations && platform.id() in excludedConfigurations && excludedConfigurations[platform.id()].includes(+metric.id())) 271 if (excludedConfigurations && platform.id() in excludedConfigurations && excludedConfigurations[platform.id()].includes(+metric.id())) { 272 excludedMerticCount += 1; 271 273 continue; 274 } 272 275 if (!platform.hasMetric(metric)) 273 276 continue; … … 276 279 this._configurationList.push([platform.id(), metric.id()]); 277 280 } 278 if (!foundInSomeMetric )281 if (!foundInSomeMetric && excludedMerticCount < metrics.length) 279 282 this._missingPlatforms.add(platform); 280 283 }
Note: See TracChangeset
for help on using the changeset viewer.