Make StyleBench compatible with run-benchmark and run-perf-tests
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Jan 2018 22:09:07 +0000 (22:09 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Jan 2018 22:09:07 +0000 (22:09 +0000)
commit4f7cee463ac5b20a801ff86ac5aae5b422927f46
tree9d197b19981c8d3942d98b8df7fe2a0fe74cef04
parentf29a197e8c632034769a37a13e1052d3903830ee
Make StyleBench compatible with run-benchmark and run-perf-tests
https://bugs.webkit.org/show_bug.cgi?id=182262

Reviewed by Antti Koivisto.

Copied resource files referenced from Speedometer directory since run-benchmark needs to be able
to checkout each benchmark separately.

Removed the code to create tests of the same name five times in makeSteps since this
won't be compatible with either run-benchmark or run-perf-tests.

* StyleBench/index.html: Removed the code to show warnings for local files since run-benchmark
doesn't use HTTP server in WebDriver mode.
* StyleBench/resources/benchmark-report.js: Copied from resources/benchmark-report.js.
* StyleBench/resources/benchmark-runner.js: Copied from resources/benchmark-runner.js.
(BenchmarkRunner.prototype._finalize): Use the correction factor of 8 instead of 5 in StyleBench.
* StyleBench/resources/gauge.png: Copied from resources/gauge.png.
* StyleBench/resources/gauge@2x.png: Copied from resources/gauge@2x.png.
* StyleBench/resources/main.css: Copied from resources/main.css.
* StyleBench/resources/main.js: Copied from resources/main.js.
* StyleBench/resources/tests.js:
(makeSteps): Only make each test once.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@227756 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PerformanceTests/ChangeLog
PerformanceTests/StyleBench/index.html
PerformanceTests/StyleBench/resources/benchmark-report.js [new file with mode: 0644]
PerformanceTests/StyleBench/resources/benchmark-runner.js [new file with mode: 0644]
PerformanceTests/StyleBench/resources/gauge.png [new file with mode: 0644]
PerformanceTests/StyleBench/resources/gauge@2x.png [new file with mode: 0644]
PerformanceTests/StyleBench/resources/main.css [new file with mode: 0644]
PerformanceTests/StyleBench/resources/main.js [new file with mode: 0644]
PerformanceTests/StyleBench/resources/tests.js