Open Bug 1999199 Opened 3 days ago Updated 3 days ago

Resizing the browser window with https://data.firefox.com/dashboard/hardware open uses 100% CPU load for about 20s

Categories

(Core :: Performance: Responsiveness, defect)

defect

Tracking

()

People

(Reporter: whimboo, Unassigned)

Details

(Keywords: perf)

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko/20100101 Firefox/146.0 ID:20251028215909

Opening the DevTools inspector with the Cmd+Option+I shortcut on https://data.firefox.com/dashboard/hardware causes 100% CPU load for about 20s. Until then a user also has to wait until anything is displayed in the inspector (or any other) panel. The content process is frozen during this time.

Here a recorded Gecko profile: https://share.firefox.dev/47zH7Nz

The flame chart shows that we spent nearly all the time in SVGGeometryElement.getPointAtLength, which itself is part of a request animation frame callback.

As Julian mentioned to me this is actually not a DevTools issue but also happens when resizing the browser window. When DevTools is opened this is what basically happens with the content area. It's not visible when opening DevTools in a separate window.

Not sure if this is an issue with the page itself or us not handling it correctly. CC'ing Emilio in case he has an idea.

Component: Inspector → Performance: Responsiveness
Product: DevTools → Core
Summary: Opening DevTools inspector on https://data.firefox.com/dashboard/hardware takes 20s with 100% CPU load of content process → Resizing the browser window with https://data.firefox.com/dashboard/hardware open uses 100% CPU load for about 20s

Not sure if this is an issue with the page itself or us not handling it correctly

FWIW, I see the same with Chrome.

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