Title: [270714] trunk/Websites/perf.webkit.org
- Revision
- 270714
- Author
- [email protected]
- Date
- 2020-12-11 15:34:24 -0800 (Fri, 11 Dec 2020)
Log Message
'AnalysisTask._commitSetsInSamePlatformGroup' should not fetch an invalid platform and metric config for a MeasurementSet.
https://bugs.webkit.org/show_bug.cgi?id=219721
Reviewed by Ryosuke Niwa.
Selected test group on analysis task page may not highlight when 'AnalysisTask._commitSetsInSamePlatformGroup' fetches
an invalid platform and metric config for a MeasurementSet.
* public/v3/models/analysis-task.js: Added a logic to avoid fetching MeasurementSet with an invalid config.
(AnalysisTask.prototype._commitSetsInSamePlatformGroup):
Modified Paths
Diff
Modified: trunk/Websites/perf.webkit.org/ChangeLog (270713 => 270714)
--- trunk/Websites/perf.webkit.org/ChangeLog 2020-12-11 23:27:35 UTC (rev 270713)
+++ trunk/Websites/perf.webkit.org/ChangeLog 2020-12-11 23:34:24 UTC (rev 270714)
@@ -1,5 +1,18 @@
2020-12-09 Dewei Zhu <[email protected]>
+ 'AnalysisTask._commitSetsInSamePlatformGroup' should not fetch an invalid platform and metric config for a MeasurementSet.
+ https://bugs.webkit.org/show_bug.cgi?id=219721
+
+ Reviewed by Ryosuke Niwa.
+
+ Selected test group on analysis task page may not highlight when 'AnalysisTask._commitSetsInSamePlatformGroup' fetches
+ an invalid platform and metric config for a MeasurementSet.
+
+ * public/v3/models/analysis-task.js: Added a logic to avoid fetching MeasurementSet with an invalid config.
+ (AnalysisTask.prototype._commitSetsInSamePlatformGroup):
+
+2020-12-09 Dewei Zhu <[email protected]>
+
Add max age for a root to be reused.
https://bugs.webkit.org/show_bug.cgi?id=219628
Modified: trunk/Websites/perf.webkit.org/public/v3/models/analysis-task.js (270713 => 270714)
--- trunk/Websites/perf.webkit.org/public/v3/models/analysis-task.js 2020-12-11 23:27:35 UTC (rev 270713)
+++ trunk/Websites/perf.webkit.org/public/v3/models/analysis-task.js 2020-12-11 23:34:24 UTC (rev 270714)
@@ -202,6 +202,8 @@
return [];
const otherPlatforms = this.platform().group().platforms().filter((platform) => platform != this.platform());
return otherPlatforms.map(async (platform) => {
+ if (!platform.hasMetric(metric))
+ return [];
const lastModified = platform.lastModified(metric);
const measurementSet = MeasurementSet.findSet(platform.id(), metric.id(), lastModified);
await measurementSet.fetchBetween(this.startTime(), this.endTime());
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes