Open
Bug 832694
Opened 11 years ago
Updated 2 years ago
Over invalidation of SVG with filters embedded via <object> while scrolling the Shadow DOM spec
Categories
(Core :: SVG, defect)
Tracking
()
NEW
People
(Reporter: jdm, Unassigned)
References
()
Details
(Keywords: perf, Whiteboard: [in-the-wild][invalidation][gaussian blur filters][Snappy])
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment 3•11 years ago
|
||
I didn't check the SVG itself, but visually it looks like it's been generated by OmniGraffle, which has a tendency to generate blur filters that cover much more of the canvas than is necessary.
Comment 4•11 years ago
|
||
FWIW, both Opera12.12 and IE10RC are janky on this page, with and without HWA.
Comment 5•11 years ago
|
||
Many elements in the drawing I looked at (http://www.w3.org/TR/2012/WD-shadow-dom-20120522/shadow-dom-subtrees.svg) seem to have two gaussian blurs applied, one to the element in a <defs> section which is then used by a <use> element which also has a slightly different blur applied.
Comment 6•11 years ago
|
||
FWIW, i think IE10 is using some GPU too for the SVG blurring. Using GPU-z, I can see spikes in GPU usage when scrolling over those SVG's
Updated•11 years ago
|
Whiteboard: [Snappy] [needs profiliing] → [Snappy] [needs profiliing] [in-the-wild]
Comment 7•10 years ago
|
||
We're doing lots of needless repainting.
Summary: Awful scrolling performance on Shadow DOM spec → Awful scrolling performance on Shadow DOM spec due to invalidating SVG that is fully in the viewport
Whiteboard: [Snappy] [needs profiliing] [in-the-wild] → [Snappy][in-the-wild][invalidation]
Comment 8•7 years ago
|
||
Markus and others did a bunch of work to speed up filters and on my machine we now scroll without noticeable jank, but the unnecessary invalidation is still happening so there may still be issues on lower spec machines.
Summary: Awful scrolling performance on Shadow DOM spec due to invalidating SVG that is fully in the viewport → Over invalidation of SVG with filters embedded via <object> while scrolling the Shadow DOM spec
Whiteboard: [Snappy][in-the-wild][invalidation] → [in-the-wild][invalidation][gaussian blur filters][Snappy]
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.