RESOLVED FIXED 11908
WebKit spends 40% of its time displaying "bamboo.svg" executing Regexes
https://bugs.webkit.org/show_bug.cgi?id=11908
Summary WebKit spends 40% of its time displaying "bamboo.svg" executing Regexes
Eric Seidel (no email)
Reported 2006-12-21 05:16:14 PST
WebKit spends 40% of its time displaying "bamboo.svg" executing Regexes This function: bool SVGTransformable::parseTransformAttribute(SVGTransformList* list, const AtomicString& transform) Uses a regex for parsing. Ick. that's eating 40% of our time while parsing, at least when displaying bamboo.svg I think a simpler, custom parser is in order.
Attachments
Eric Seidel (no email)
Comment 1 2006-12-21 05:17:19 PST
it's actually bamboo_01.svg http://xml2.mweb.co.za/clipart/plants/bamboo_01.svg Save it locally for proper testing.
mitz
Comment 2 2006-12-21 06:47:40 PST
(In reply to comment #0) > I think a simpler, custom parser is in order. See attachment 10944 [details] in bug 11108.
Rob Buis
Comment 3 2006-12-22 13:46:38 PST
Hi Eric, Mitz, (In reply to comment #2) > (In reply to comment #0) > > > I think a simpler, custom parser is in order. > > See attachment 10944 [details] [edit] in bug 11108. I created a new patch that actually compiles on ToT :) I'd love it if someone could take it and shark it with bamboo.svg, since I am away for at least 24h. Cheers, Rob.
Rob Buis
Comment 4 2006-12-27 15:25:25 PST
Landed in r18440.
Rob Buis
Comment 5 2006-12-27 15:27:39 PST
Landed in r18440.
Note You need to log in before you can comment on or make changes to this bug.