Open Bug 1015996 Opened 11 years ago Updated 2 years ago

Add support for making about:memory give a breakdown of the memory used by SVG-as-an-image documents

Categories

(Core :: SVG, defect)

defect

Tracking

()

People

(Reporter: jwatt, Assigned: jwatt)

References

(Blocks 1 open bug)

Details

(Whiteboard: [MemShrink:P2])

Bug 590790 added support for reporting the memory used by the document wrapped by SVG-as-an-images. It just gives a total for the entire document though. It might seem like on identifying an SVG-as-an-image as a problem from its total memory use we could load it in a top lever window and rerun the about:memory analysis to get a breakdown of that SVG document's memory use. SVG-as-an-image has different memory usage characteristics to SVG-as-a-document though, so this doesn't work. I'd like to add a way to get about:memory to show the breakdown for SVG-as-an-image images just like it does for top level windows. We won't want this data to appear by default, even with the "verbose" option in about:memory checked, I think. Putting the behavior behind a pref will probably do.
Whiteboard: [MemShrink]
We currently have no prefs dictating memory reporter behaviour and I'd prefer to keep it that way if possible. (The "verbose" option simply changes the presentation; the measurements are exactly the same.) Hopefully we can find a good level of detail to present in all cases.
Whiteboard: [MemShrink] → [MemShrink:P2]
Blocks: 1054016
No longer blocks: 1347543
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.