Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Make run-perf-tests work with StyleBench and re-enable it
https://bugs.webkit.org/show_bug.cgi?id=182322 Reviewed by Antti Koivisto. This patch updates the test harness to report new metrics of StyleBench. Replaced the total time by the geometric mean of the time spent in each suite, and added scores as a metric in addition to time. Also, updated the PerfTestRunner harness and the results template to support "Score" metric with "pt" as its unit. * Skipped: Unskipped the test. * StyleBench/resources/benchmark-report.js: (window.benchmarkClient.willStartFirstIteration..createTest): Added the unit as an optional argument to report the score in addition to time. Also report the geomean of time instead of the total time. (window.benchmarkClient.willStartFirstIteration): Report the geomean of time. (window.benchmarkClient.didRunSuites): Record the entire measuredValues instead of just tests. (window.benchmarkClient.didFinishLastIteration): Report the scores. * resources/results-template.html: Added "Score" as a metric and "pt" as its unit. * resources/runner.js: (PerfTestRunner..finish): Ditto. Canonical link: https://commits.webkit.org/198168@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@227946 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
5 changed files
with
37 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters