[Webkit-unassigned] [Bug 57077] New: SVG <use> element performance improvement

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 24 21:35:44 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=57077

           Summary: SVG <use> element performance improvement
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://upload.wikimedia.org/wikipedia/commons/4/4e/Sie
                    rpinski_carpet_6.svg
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: leo.yang at torchmobile.com.cn
                CC: zimmermann at kde.org, krit at webkit.org


SVG <use> element expands nesting <use> and <symbol> elements in an inefficient way. After it expands an <use> or a <symbol> element it will restart expanding from the shadow tree root. This leads about 160 millions of calls to expandUseElementInShadowTree or expandSymbolElementInShadowTree for a single shadow tree which is illustrated by the *URL* field of this bug. But the effective calls, which will really expand <use> or <symbol> elements, are about 5200; others are passing-by calls which are recursively down to the children.

Patch is coming soon...

-- 
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