[Webkit-unassigned] [Bug 97910] New: [SVG] Use references are much slower than necessary
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 28 07:12:24 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=97910
Summary: [SVG] Use references are much slower than necessary
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: blambov at google.com
CC: zimmermann at kde.org
Created an attachment (id=166245)
--> (https://bugs.webkit.org/attachment.cgi?id=166245&action=review)
Example setting href attribute
The attached files contain a hierarchy of 'use' elements to build a graphic containing a few hundred triangles. It is not a problem for Chrome to render the graphic fluidly (use-levels-move), but if a new 'use' element references the graphic (use-levels-new-use), or the element's 'href' is changed (use-levels-set-href), the performance falls dramatically.
WebKit is copying the elements referenced by 'use', which should not be necessary at all. In other tests we have seen that it is actually faster to explicitly recreate referenced nodes with JavaScript than to refer to them with 'use' elements.
Opera does not have this problem, and runs all these examples at ~50 fps.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list