RESOLVED FIXED 6713
resizing SVG with blur filter is incredibly slow
https://bugs.webkit.org/show_bug.cgi?id=6713
Summary resizing SVG with blur filter is incredibly slow
Eric Seidel (no email)
Reported 2006-01-22 03:32:30 PST
Resizing Safari window sends CoreImage off the deep end http://jan.kollhof.net/projects/svg/examples/aqua.svg We need to reduce this to the minimal crashing SVG. At which point we can either fix it in WebKit, or I can take that knowledge to the CoreImage team.
Attachments
Slightly reduced testcase (5.11 KB, image/svg+xml)
2006-04-27 02:33 PDT, Alex Taylor
no flags
Eric Seidel (no email)
Comment 1 2006-01-26 16:20:17 PST
This is a reproducible crasher for SVG. Adding to the SVGHitList.
Eric Seidel (no email)
Comment 2 2006-01-26 16:42:07 PST
Also now in Radar: <rdar://problem/4423939> Resizing Safari window sends Core Image off the deep end
Eric Seidel (no email)
Comment 3 2006-01-29 06:23:48 PST
The situation is much better now. I discovered as part of fixing http://bugzilla.opendarwin.org/show_bug.cgi?id=6849 that every time we requested a filter object, we were adding it's filter elements onto the filter stack. This caused us to quickly build a filter stack larger than core image could handle. The performance is still poor, but much better.
Gregory Block
Comment 4 2006-02-01 02:16:20 PST
... is it just me, or are some effects being added on each time I resize this? Nightly from the 31st... Is that related to this?
Joost de Valk (AlthA)
Comment 5 2006-02-04 10:50:30 PST
Performance for resizing this is hellish, but it works and it's consistent it seems....
Alexander Kellett
Comment 6 2006-02-12 10:00:22 PST
as altha points out, while horribly slow this is no longer a hang. renaming to reflect this, decreasing priority, and removing from hitlist.
Alexander Kellett
Comment 7 2006-02-14 01:48:07 PST
making hitlist again, we are too slow to ship
Alex Taylor
Comment 8 2006-04-27 02:33:08 PDT
Created attachment 7995 [details] Slightly reduced testcase It appears the Gaussian blur effect is causing a dramatic slow down. Slight butchering/reduction of the SVG while still exhibiting the behaviour. Removed buttons, text and gradient effects, leaving enough gaussian blurred objects.
Gavin Sherlock
Comment 9 2008-08-01 06:20:42 PDT
I see a little CPU usage when resizing the window when visiting: http://jan.kollhof.net/projects/svg/examples/aqua.svg but no performance problems. Maybe should be closed?
Gavin Sherlock
Comment 10 2008-08-01 06:21:31 PDT
Forgot to say - tested with r35417
Dirk Schulze
Comment 11 2009-10-09 13:59:02 PDT
We can close this bug with the new implementation landed with r49402. Needs filters enabled build.
Note You need to log in before you can comment on or make changes to this bug.