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)
commit96891ed35c73d2b9b3fce3667b649ce6bb9affab
tree7bb44bf1acf742471bf23c7d952b1730c97f49df
parenta7174a3cb0a48df81e250b9015540ef1d3e24d8b
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: http://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