A few things: - Clean up some of the calls and return values, which are never used - Clarify the relationship between the benchmark, the stage, and the animator - Reduce the number of prototype jumps
<rdar://problem/24011212>
<rdar://problem/24011215>
Created attachment 267953 [details] Patch
Created attachment 267954 [details] 1. Minor cleanup
Created attachment 267955 [details] 2. Refactor the subclass pattern.
Created attachment 267956 [details] 3. Make the class relationships more easily understandable
Created attachment 267957 [details] 4. Get rid of stage.js, StageAnimator, and StageBenchmark
Created attachment 267958 [details] 5. Refactor the simple suite.
Created attachment 267959 [details] 6. Refactor miscellaneous suite.
Created attachment 267960 [details] 7. Move example/ files into misc/.
Created attachment 267961 [details] 8. Refactor the bouncing canvas tests.
Created attachment 267962 [details] 9. Refactor the HTML suite.
Created attachment 267963 [details] 10. Refactor the SVG suite.
Created attachment 267964 [details] 11. Refactor the template.
Created attachment 267965 [details] 12. Don't require new tests to pass a new instance of Animator
Created attachment 267966 [details] 13. Will be checked in separately: update the simple canvas tests
Comment on attachment 267953 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=267953&action=review > PerformanceTests/Animometer/tests/misc/resources/canvas-electrons.js:29 > + this._context.rotate(this._angle * Math.PI / 180); Probably worth having a deg2rad() helper somewhere. > PerformanceTests/ChangeLog:284 > - > + I don't think you should touch all the old changelog entries.
Comment on attachment 267953 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=267953&action=review >> PerformanceTests/ChangeLog:284 >> + > > I don't think you should touch all the old changelog entries. Oof. My editor conveniently fixed all of the stray whitespace. I'll have to fix the diff. Also, shame on y'all.
Committed r194520: <http://trac.webkit.org/changeset/194520>
Committed r194521: <http://trac.webkit.org/changeset/194521>