Update master benchmark with SVG test
authorjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Apr 2016 01:47:53 +0000 (01:47 +0000)
committerjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Apr 2016 01:47:53 +0000 (01:47 +0000)
commit27b99f5dd605e3ede4d729cbffccc041a8211126
treed3b8c0b6e0358a338c79df7097f3979659f5e538
parent8b663f49c400e792001f1d9e9e3bf507bc8075fe
Update master benchmark with SVG test
https://bugs.webkit.org/show_bug.cgi?id=156273

Reviewed by Dean Jackson.
Provisionally reviewed by Said Abou-Hallawa.

Switch masks tests for SVG path test.

* Animometer/resources/debug-runner/tests.js: Move mask test here.
* Animometer/resources/runner/tests.js: Add SVG test here.
* Animometer/tests/dom/particles.html: Renamed from PerformanceTests/Animometer/tests/master/particles.html.
* Animometer/tests/dom/resources/dom-particles.js: Renamed from PerformanceTests/Animometer/tests/master/resources/dom-particles.js.

* Animometer/tests/master/resources/particles.js: Add minPosition for bounds checking. Prevents particle from being
partially obscured.
* Animometer/tests/master/resources/svg-particles.js: Added.
(Particle): The particle is either a path object or a rect using a path as a clip. The
same path is used either way. For each particle create a linear gradient with a random
rotation.
(SVGParticlesStage): Look in #shapes to see how many different kinds of paths are available.
This makes the test more generic in case other shapes need to be tested.
* Animometer/tests/master/svg-particles.html: Added. Have two defs, one that houses each
particle's gradient, and one that holds the shape templates.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@199134 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PerformanceTests/Animometer/resources/debug-runner/tests.js
PerformanceTests/Animometer/resources/runner/tests.js
PerformanceTests/Animometer/tests/dom/particles.html [moved from PerformanceTests/Animometer/tests/master/particles.html with 92% similarity]
PerformanceTests/Animometer/tests/dom/resources/dom-particles.js [moved from PerformanceTests/Animometer/tests/master/resources/dom-particles.js with 93% similarity]
PerformanceTests/Animometer/tests/master/resources/particles.js
PerformanceTests/Animometer/tests/master/resources/svg-particles.js [new file with mode: 0644]
PerformanceTests/Animometer/tests/master/svg-particles.html [new file with mode: 0644]
PerformanceTests/ChangeLog