Open Bug 1566942 Opened 5 years ago Updated 1 year ago

Very slow animations with SVG filters.

Categories

(Core :: Graphics: WebRender, defect, P3)

defect

Tracking

()

Tracking Status
firefox70 --- affected

People

(Reporter: emilio, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Attached file Testcase

Test-case is reduced from https://codepen.io/JeremiePat/full/GVKxYa / https://twitter.com/JeremiePat/status/1151501718624047104, with a poor attempt and making the animations longer.

It spends a lot of time in the compositor, and during layer building. Probably we can try to do something better.

Here's a profile on a clean profile:

Will get a WR profile in a second.

WR profile: https://perfht.ml/2XWfQxE

Though nothing stands out, the animation is still very janky.

On Mac with WebRender https://perfht.ml/2Y8NlAZ the biggest problem looks like malloc contention. This is presumably because of https://hg.mozilla.org/mozilla-central/rev/d9efe6d06931

Blocks: wr-perf
Blocks: wr-70
Priority: -- → P3

Unlikely to get anything for 70

Blocks: wr-71
No longer blocks: wr-70

I am still seeing a lot of malloc contention on this test case, caused by many nested filters .

No longer blocks: wr-71
No longer blocks: wr-perf
No longer depends on: wr-svg-filter-perf
Severity: normal → S3
Component: Graphics → Graphics: WebRender
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: