Open Bug 1875210 Opened 9 months ago Updated 4 months ago

Performance regression on a codepen demo (https://codepen.io/zimjs/pen/xxjEyzG), extremely laggy browser UI and laggy Windows UI

Categories

(Core :: Graphics: Canvas2D, defect)

defect

Tracking

()

Tracking Status
firefox-esr115 --- unaffected
firefox121 --- unaffected
firefox122 --- unaffected
firefox123 --- wontfix
firefox124 --- fix-optional

People

(Reporter: mayankleoboy1, Unassigned)

References

(Regression, )

Details

(Keywords: regression)

Attachments

(2 files)

Go to https://codepen.io/zimjs/pen/xxjEyzG

AR:
0. Demo barely rotates/animates

  1. Some browser UI actions become extremely laggy. Example: Opening new tabs, profiling the demo etc. Recording profile and capturing it usually leads to complete hang of the UI.
  2. The Windows UI becomes somewhat laggy
  3. 95% "GPU copy" as shown by Windows Task Manager. From doing the bisection, high "GPU copy" is strongly correlated to the above 3 symptoms
  4. The gpu use continues for 10s of seconds after you close the tab. Expectation would be that as soon as the offending tab is closed the processing should stop (and the UI responsiveness improves)

Good (1Oct2023) : https://share.firefox.dev/3Sx2xn3 (98% GPU 3d use, 0% gpu copy)
Bad(17Jan2024) : / https://share.firefox.dev/47ChcBr (70% GPU 3d use, 85% gpu copy)
Bad2 (somewhere between the above two revisions) : https://share.firefox.dev/490c6Qr

Regressed by :
Bug 1871467 - Remove unnecessary CanvasTranslator locking. r=aosmond CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D197112

Attached file about:support
Attached image bad gpu copy.png

The reason this was so noticable was because the browser UI becomes laggy, which is a bad user experience. It feels as if the whole browser UI has locked up. Worse performance on the demo is still acceptable.

Severity: -- → S3

Set release status flags based on info from the regressing bug 1871467

:lsalzman, since you are the author of the regressor, bug 1871467, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(lsalzman)

Set release status flags based on info from the regressing bug 1871467

Slow browser UI is fixed by bug 1863257 and co.

Depends on: 1863257
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: