RESOLVED INVALID 6060
gearflowers.svg renders incredibly slowly in Safari
https://bugs.webkit.org/show_bug.cgi?id=6060
Summary gearflowers.svg renders incredibly slowly in Safari
Eric Seidel (no email)
Reported 2005-12-12 23:58:37 PST
gearflowers.svg renders incredibly slowly in Safari (It also currently renders wrong due to <stop> style issues: 6052)
Attachments
Profile of gearflowers.svg being rendered (973.99 KB, application/octet-stream)
2005-12-17 13:29 PST, Ladd Van Tol
no flags
Ladd Van Tol
Comment 1 2005-12-17 13:29:51 PST
Created attachment 5124 [details] Profile of gearflowers.svg being rendered Part of this is that it is a 521k file on a slow server. A local copy takes on order of 3 seconds to render on a dual 2 GHz G5 here. 7.9% of the time is consumed in CoreGraphic's getNextAxialShadingScanline, which may be somewhat optimizable. Other gradient-related functions are taking up a significant chunk of time, athough the only WebCore function is cgGradientCallback. See attached shark profile.
Eric Seidel (no email)
Comment 2 2006-12-26 17:14:35 PST
Well, it's now part of our newly-landed SVG page load test. Part of this is also a CG performance bug in shadings, which I expect will be addressed in a future OS release.
Eric Seidel (no email)
Comment 3 2007-10-12 02:25:30 PDT
I filed a Radar with CG while I was still at apple about exactly this issue. CG Gradients are incredibly slow. We might just replace them with our own gradient code if we can't get a better API from them (functional based gradients make things way way way slower than they need to be) or see the perf issues with the existing gradient API addressed. It would be nice to see that radar number associated with this bug (or a new one filed).
Eric Seidel (no email)
Comment 4 2008-03-23 13:38:32 PDT
It's definitely better in leopard.
Eric Seidel (no email)
Comment 5 2008-03-23 13:38:58 PDT
I'm not sure this bug is super-useful anymore.
Note You need to log in before you can comment on or make changes to this bug.