[Webkit-unassigned] [Bug 12283] New: SVG wastes time in stringToLengthType, should use CSS parser (or atoms) instead
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 15 07:42:42 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=12283
Summary: SVG wastes time in stringToLengthType, should use CSS
parser (or atoms) instead
Product: WebKit
Version: 420+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Severity: Normal
Priority: P4
Component: SVG
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: macdome at opendarwin.org
SVG wastes time in stringToLengthType, should use CSS parser (or atoms) instead
SVG is wasting time in stringToLengthType (in DOM string creation and
destruction). The HTML side of things just uses the CSS parser to extract
length type during length parsing. SVGLength should either find a cheaper
method for parsing, or use the CSS parser code.
I discovered this by using the "heavy" view in shark, noting the malloc was
heavy, and then seeing that stringToLengthType was under the String::String()
malloc caller.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list