"Pure CSS 3D Girl" running-person animation is much slower in Firefox than Chromium/WebKit
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
People
(Reporter: dholbert, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: perf:animation)
Attachments
(2 files)
STR:
- Load this codepen: https://codepen.io/miocene/full/eYaRgVE (ideally in a large Firefox window)
(this is from Julia Miocene at CSS Day, linked here: https://x.com/julia_miocene/status/1798695887142883709 )
ACTUAL RESULTS:
The animation is extremely janky; it looks like a slideshow, on the order of 1 frame per second or so.
EXPECTED RESULTS:
Smoother animation.
Profile, using Graphics presets: https://share.firefox.dev/3RhKQ9J
The various WRWorker threads are super-busy. Other threads are all pretty quiet.
I'm testing in Firefox Nightly on Ubuntu 22.04
Reporter | ||
Comment 1•1 year ago
|
||
Here's the codepen as a live Bugzilla testcase/attachment, just in case the codepen disappears or changes-such-that-it-stops-reproducing-the-bug at some point. (Also probably easier to debug without the various bits of codepen framing/overhead.)
Reporter | ||
Comment 2•1 year ago
|
||
This is reproducible on macOS too (I assume also Windows though I haven't tested there).
Chrome/Safari are noticeably better here.
On my MacBook Pro, viewing the testcase in a maximized window, Chrome and Safari both look like they've got 4-6 frames per second, whereas Firefox has 0-1 frame per second.
Reporter | ||
Comment 3•1 year ago
|
||
nchevobbe noticed that the slowness goes away if we comment out filter: var(--noise10)
.
Here's a modified version of the testcase with that change, to demonstrate. We perform great on this version.
Reporter | ||
Comment 4•1 year ago
|
||
given the connection to WebRender and specific filters, gregp suggests this is a version of bug 1409486.
(In reply to Daniel Holbert [:dholbert] from comment #2)
This is reproducible on macOS too (I assume also Windows though I haven't tested there).
Can confirm.
Comment 6•1 year ago
|
||
The severity field is not set for this bug.
:gw, could you have a look please?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
Comment 7•1 year ago
|
||
FWIW, the original codepen runs very smooth on the latest Nightly. I can only assume that the author removed the bits that made the demo slow on Firefox.
Reporter | ||
Comment 8•1 year ago
|
||
(In reply to Mayank Bansal from comment #7)
FWIW, the original codepen runs very smooth on the latest Nightly. I can only assume that the author removed the bits that made the demo slow on Firefox.
Yup, the line mentioned in comment 3 is now commented out in the original codepen. :)
We've got bugzilla attachments for persistent testcases here, in any case.
Comment 9•11 months ago
|
||
Profile for the testcase in comment#1 : https://share.firefox.dev/4deW1rU
Its still quite stuttery.
Description
•