StyleBench: Generate more mutation steps
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Jan 2018 22:08:11 +0000 (22:08 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Jan 2018 22:08:11 +0000 (22:08 +0000)
commit6794714baa4c6f52bd2e626797af080d9e5eacb9
tree78c1c6fa4cf8cce2a23c53a43708255519ad9ba4
parentaf530af0555d7237461d05073ba2468d6f47aaab
StyleBench: Generate more mutation steps
https://bugs.webkit.org/show_bug.cgi?id=182291

Reviewed by Ryosuke Niwa.

The test should be doing multiple rounds of mutations in a single document to test what is supposed to test (like it did before r227756).
This also makes test results more stable and less dependent on possible first-time costs.

* StyleBench/resources/benchmark-runner.js:

Adjust correctionFactor to match the new steps count. With 1.5 Firefox is ~72rpm.

* StyleBench/resources/tests.js:
(makeSteps):

Generate 10 rounds of class/element mutation steps.
Give each generated step unique name so reporting works.
Make individual steps do fewer mutations.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@227850 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PerformanceTests/ChangeLog
PerformanceTests/StyleBench/resources/benchmark-runner.js
PerformanceTests/StyleBench/resources/tests.js