RESOLVED FIXED Bug 90811
Add a performance test for hit testing in SVG
https://bugs.webkit.org/show_bug.cgi?id=90811
Summary Add a performance test for hit testing in SVG
Philip Rogers
Reported 2012-07-09 12:18:07 PDT
There are many changes in the RenderSVGShape area that may affect performance so we should add a performance test of hit testing to ensure we don't regress. Patch forthcoming.
Attachments
Add a performance test for hit testing in SVG (11.38 KB, patch)
2012-07-09 13:56 PDT, Philip Rogers
rniwa: review+
rniwa: commit-queue-
Update per reviewer comments (11.16 KB, patch)
2012-07-11 10:26 PDT, Philip Rogers
no flags
Philip Rogers
Comment 1 2012-07-09 13:56:02 PDT
Created attachment 151310 [details] Add a performance test for hit testing in SVG
Philip Rogers
Comment 2 2012-07-09 14:14:56 PDT
Note: I have 5 groups of 12 shapes instead of 1 group and 5 <use>s because I hit the following regression in writing this test: https://bugs.webkit.org/show_bug.cgi?id=90820
Ryosuke Niwa
Comment 3 2012-07-10 16:11:14 PDT
Comment on attachment 151310 [details] Add a performance test for hit testing in SVG View in context: https://bugs.webkit.org/attachment.cgi?id=151310&action=review > PerformanceTests/SVG/SvgHitTesting.html:2 > +<!-- Benchmark of SVG Hit Testing --> Do we really need this comment? > PerformanceTests/SVG/SvgHitTesting.html:105 > + // var checkResults = {'ellipse': 0, 'circle': 0, 'rect': 0, 'path': 0, 'svg': 0, 'use': 0}; NIt: we should remove this. > PerformanceTests/SVG/SvgHitTesting.html:111 > + // checkResults[el.nodeName]++; Ditto. > PerformanceTests/SVG/SvgHitTesting.html:113 > + // console.log(checkResults); Ditto.
Philip Rogers
Comment 4 2012-07-11 10:26:19 PDT
Created attachment 151729 [details] Update per reviewer comments
WebKit Review Bot
Comment 5 2012-07-11 11:45:52 PDT
Comment on attachment 151729 [details] Update per reviewer comments Clearing flags on attachment: 151729 Committed r122351: <http://trac.webkit.org/changeset/122351>
WebKit Review Bot
Comment 6 2012-07-11 11:45:58 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.