Closed Bug 854024 Opened 12 years ago Closed 2 years ago

Filter heavy SVG MediaWiki logo renders more slowly than in Chrome

Categories

(Core :: SVG, defect)

19 Branch
x86_64
Windows 7
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: Eduard.Braun2, Unassigned)

References

(Depends on 2 open bugs, )

Details

(Keywords: perf, Whiteboard: [in-the-wild] [external-report])

Attachments

(1 file)

Firefox's SVG rendering speed is alarmingly poor on this SVG image (MediaWiki's logo): http://upload.wikimedia.org/wikipedia/commons/5/54/MediaWiki_logo_1.svg Firefox gets totally unresponsive on my hardware while trying to render the SVG so i have to kill the process. Even after minutes the file isn't rendered completely. I compared it to other SVG renderers available to me at the moment, all of which are substantially faster: - Inkscape renders the file without problems within seconds and keeps responsive (zooming, etc.) all the time - rsvg-convert takes ~ 10 s to render the file in it's native size - even Internet Explorer renders the file within ~ 10 s with only some small lags and without obvious rendering errors I tried rendering on my machine with hardware acceleration switched on (I've got an ATI Mobility Radeon HD 3470) as well as switched off, without a notable difference.
Renders about the same speed as Opera for me which is around 10 seconds, same as you've seen with other tools.
I'm able to observe the hang too, with HWA disabled, it's more responsive (even lag is still present).
svg.display-lists.painting.enabled;false set makes some Differences too.
Keywords: perf
We are much slower than Chrome on Mac, especially when doing things like resizing the window and mousing over the page. For the initial paint I'm seeing: 60% of the time under nsSVGIntegrationUtils::PaintFramesWithEffects 15% creating and processing display list items There are 19731 display elements (including filters, gradients, groups, etc). When mousing over the content, I'm seeing lots of long pauses, and over 60% of the time being spent building display lists.
Depends on: 869505, 869496
Whiteboard: [in-the-wild] [external-report]
Summary: SVG rendering damn slowly in Firefox (with sample) → MediaWiki's SVG logo is rendering damn slowly in Firefox
Still more than two thirds of the time handling filters despite the filter improvements the last few years, and still noticeably slower than Chrome. https://perfht.ml/2nKXVJe
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: MediaWiki's SVG logo is rendering damn slowly in Firefox → Filter heavy SVG MediaWiki logo renders more slowly than in Chrome
Severity: normal → S3

Seems OK now.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: