Add a new benchmark test
authorjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Mar 2016 02:49:16 +0000 (02:49 +0000)
committerjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Mar 2016 02:49:16 +0000 (02:49 +0000)
commit3954a2aac7a4103f0a0e6a8e2a1e34743193ebbb
tree7bb44bf1acf742471bf23c7d952b1730c97f49df
parent16b383d3eba5155e58dc14136127b357bdb74b23
Add a new benchmark test
https://bugs.webkit.org/show_bug.cgi?id=155570

Reviewed by Simon Fraser.

New Leaves test includes various image sizes and opacity.

* Animometer/resources/debug-runner/tests.js: Add it to the HTML test suite.
* Animometer/tests/dom/leaves.html: Added.
* Animometer/tests/dom/resources/leaves.js: Added. Override the
(Particle.call.reset): Uses a range of sizes, and opacity.
(Particle.call.animate): Opacity goes up then down. When it hits 0, reset the particle.
(Particle.call.move): Set transform and opacity.
* Animometer/tests/master/resources/leaves.js: Get rid of the closure so that it
can be used in this test. Update the relative path so that it works in both the master
and dom test suite.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@198315 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PerformanceTests/Animometer/resources/debug-runner/tests.js
PerformanceTests/Animometer/tests/dom/leaves.html [new file with mode: 0644]
PerformanceTests/Animometer/tests/dom/resources/leaves.js [new file with mode: 0644]
PerformanceTests/Animometer/tests/master/resources/leaves.js
PerformanceTests/ChangeLog