Summary: | resizing SVG with blur filter is incredibly slow | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> | ||||
Component: | SVG | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | emacemac7, ian, jeffschiller, joost, krit | ||||
Priority: | P2 | Keywords: | InRadar, NeedsReduction, SVGHitList | ||||
Version: | 420+ | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.4 | ||||||
URL: | http://jan.kollhof.net/projects/svg/examples/aqua.svg | ||||||
Bug Depends on: | 7207 | ||||||
Bug Blocks: | 68469, 26389 | ||||||
Attachments: |
|
Description
Eric Seidel (no email)
2006-01-22 03:32:30 PST
This is a reproducible crasher for SVG. Adding to the SVGHitList. Also now in Radar: <rdar://problem/4423939> Resizing Safari window sends Core Image off the deep end 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. ... 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? Performance for resizing this is hellish, but it works and it's consistent it seems.... as altha points out, while horribly slow this is no longer a hang. renaming to reflect this, decreasing priority, and removing from hitlist. making hitlist again, we are too slow to ship 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.
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? Forgot to say - tested with r35417 We can close this bug with the new implementation landed with r49402. Needs filters enabled build. |