Closed Bug 1530185 Opened 5 years ago Closed 1 year ago

Over twice as low FPS compared to Chrome with CSS 3D engine

Categories

(Core :: DOM: Animation, defect, P3)

67 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1208646
Tracking Status
firefox-esr60 --- wontfix
firefox65 --- wontfix
firefox66 --- fix-optional
firefox67 --- affected

People

(Reporter: Firelight.thelegit, Unassigned)

References

Details

(Keywords: parity-chrome, perf)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0

Steps to reproduce:

Using Firefox Nightly 67.0a1 (2019-02-24) (64-bit), view this site: https://keithclark.co.uk/labs/css-fps/nojs/

Actual results:

50-60 FPS with frequent dips into < 20 FPS with WebRender enabled. Worse without. My GPU and all of my CPU cores weren't being utilized much.

Expected results:

Rendering at my refresh rate (120Hz) most of the time like Chrome [74.0.3710.0 (Official Build) dev (64-bit)] does.

Note: it stutters consistently at certain parts of playback. GPU load drops to almost 0% when stutters occur.

Note #2: Stuttering is suppressed while cursor is in motion. Returns to stuttering patterns when cursor ceases movement.

I can reproduce the issue on Nightly67.0a1 win10.

There are two big regression window at least.

#1 Animation stops unless moving mouse pointer:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=401840a241b9861cac205bd866ba24e69d11b7e2&tochange=fa94f7205173d34f23975c6af9cb95237b28c8b8

Regressed by: fa94f7205173 Hiroyuki Ikezoe — Bug 1190721 - Throttle animations that produce any transform change hint if the target element is out-of-view. r=birtles

#2 Animation moves even if mouse pointer does not move. However, animation performance drops very often and large:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=a5f447c3bde85b6240d7b029edeec6259529d303&tochange=4567f550794daf96a1e50e1cfa27a56ce41460a6

Partially progressed? by: 4567f550794d Wei-Cheng Pan — Bug 1425213 - Unthrottle transform animations regardless in overflowable frames or not. r=hiro

Blocks: 1190721, 1425213
Status: UNCONFIRMED → NEW
Component: Performance → DOM: Animation
Ever confirmed: true
Keywords: parity-chrome, perf
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1208646
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.