Bug 130050

Summary: Poor performance when one inline SVG references another through a "use" element
Product: WebKit Reporter: Lars Rönnbäck <lars.ronnback>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: Unspecified   
URL: http://jsfiddle.net/roenbaeck/kbU4T/23/

Description Lars Rönnbäck 2014-03-10 16:33:38 PDT
I am not sure if poor performance is strictly a bug, but the performance is very poor when an inline SVG references (animated) parts of another SVG through a "use" element. Since duplicating the animations by hand in two 'unlinked' SVG images has great performance in comparison, I cannot see why the browser could not optimise the "use" element better. Please follow the link to see an illustrated example: http://jsfiddle.net/roenbaeck/kbU4T/23/