Closed Bug 1988868 Opened 1 year ago Closed 27 days ago

Open devtools on a page with many grid elements makes the tab hang

Categories

(DevTools :: Inspector: Layout, defect, P2)

defect

Tracking

(firefox157 fixed)

RESOLVED FIXED
157 Branch
Tracking Status
firefox157 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

()

Details

Attachments

(2 files, 1 obsolete file)

STRs:

The browser will be very slow / might freeze.
This is related to the creation of our grid actors.

A first part of the fix landed in Bug 1707808, and there is a detailed analysis in https://bugzilla.mozilla.org/show_bug.cgi?id=1707808#c10

What is left (and prototyped in a hacky patch) is to stop calling getGridFragments upfront for each grid actor. Instead this should be done lazily / ondemand.

Duplicate of this bug: 1987193
Duplicate of this bug: 2061759
Attachment #9631093 - Attachment is obsolete: true
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Pushed by jdescottes@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/18007e570851 https://hg.mozilla.org/integration/autoland/rev/d1a163d6664f [devtools] Add DAMP test for inspector layout panel with many grid containers r=perftest-reviewers,devtools-reviewers,aglavic,ochameau https://github.com/mozilla-firefox/firefox/commit/57da0db2b297 https://hg.mozilla.org/integration/autoland/rev/0fa16a70e8d7 [devtools] Improve performance of layout panel on pages with many grid elements r=devtools-reviewers,devtools-backward-compat-reviewers,ochameau
Status: ASSIGNED → RESOLVED
Closed: 27 days ago
Resolution: --- → FIXED
Target Milestone: --- → 157 Branch
Regressions: 2069927
See Also: → 2069100
Regressions: 2069100
QA Whiteboard: [qa-triage-done-c158/b157]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: