RESOLVED FIXED 174530
Add performance.mark()s around Speedometer test steps
https://bugs.webkit.org/show_bug.cgi?id=174530
Summary Add performance.mark()s around Speedometer test steps
Matthew Kotsenas
Reported 2017-07-14 14:46:57 PDT
Add performance.mark()s around Speedometer test steps
Attachments
Patch (3.22 KB, patch)
2017-07-18 10:39 PDT, Matthew Kotsenas
no flags
Patch (3.28 KB, patch)
2017-07-18 14:26 PDT, Matthew Kotsenas
no flags
Matthew Kotsenas
Comment 1 2017-07-18 10:39:48 PDT
Ryosuke Niwa
Comment 2 2017-07-18 11:42:08 PDT
Comment on attachment 315805 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=315805&action=review Thanks for the patch. > PerformanceTests/ChangeLog:8 > + https://bugs.webkit.org/show_bug.cgi?id=174530 This URL should appear right below the it title. > PerformanceTests/ChangeLog:10 > + Reviewed by NOBODY (OOPS!). Followed by this line, and then the long description you have above. See other entries for the format. > PerformanceTests/Speedometer/resources/benchmark-runner.js:116 > + if (window.performance && window.performance.mark) { window.performance.mark(name); } Please put the call to mark in a separate line with an indentation but without curly braces to match the WebKit coding style. > PerformanceTests/Speedometer/resources/benchmark-runner.js:252 > + self._runTest(`${suite.name}.${test.name}`, suite, test.run, self._prepareReturnValue, function (syncTime, asyncTime) { I think it’s cleaner to pass in the test object, and construct the string in _runTrst function.
Matthew Kotsenas
Comment 3 2017-07-18 14:26:01 PDT
WebKit Commit Bot
Comment 4 2017-07-18 16:22:50 PDT
Comment on attachment 315838 [details] Patch Clearing flags on attachment: 315838 Committed r219640: <http://trac.webkit.org/changeset/219640>
WebKit Commit Bot
Comment 5 2017-07-18 16:22:51 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.