RESOLVED FIXED 193563
Analyzing a chart that does not exist should not halt whole run-analysis script.
https://bugs.webkit.org/show_bug.cgi?id=193563
Summary Analyzing a chart that does not exist should not halt whole run-analysis script.
dewei_zhu
Reported 2019-01-17 22:00:38 PST
Analyzing a chart that does not exist should not halt whole run-analysis script.
Attachments
Patch (5.07 KB, patch)
2019-01-17 22:05 PST, dewei_zhu
no flags
Patch (8.38 KB, patch)
2019-01-19 00:58 PST, dewei_zhu
rniwa: review+
dewei_zhu
Comment 1 2019-01-17 22:05:29 PST
Ryosuke Niwa
Comment 2 2019-01-18 20:31:02 PST
Comment on attachment 359449 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=359449&action=review > Websites/perf.webkit.org/ChangeLog:17 > + (async.set requests): > + (async): Remove these? > Websites/perf.webkit.org/tools/js/measurement-set-analyzer.js:55 > + } catch (error) { > + this._logger.warn(`Skipping analysis for "${metric.fullName()}" on "${platform.name()}" as time series does not exit.`); Please check/assert for a specific error instead of swallowing any exception.
dewei_zhu
Comment 3 2019-01-19 00:58:26 PST
Ryosuke Niwa
Comment 4 2019-01-22 19:24:25 PST
Comment on attachment 359598 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=359598&action=review > Websites/perf.webkit.org/public/v3/models/measurement-set.js:86 > + if (promise && callback) { > promise.then(callback, callback); > - else { > + } else if (!promise) { It would be cleaner to nest if's as in: if (promise) { if (callback) ~ } else { ~ }
dewei_zhu
Comment 5 2019-01-22 20:30:13 PST
Landed in r240319.
Note You need to log in before you can comment on or make changes to this bug.