Closed Bug 1419352 Opened 8 years ago Closed 1 year ago

Stop doing React updates while debugger is in background

Categories

(DevTools :: Debugger, enhancement, P5)

enhancement

Tracking

(firefox137 fixed)

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Similarely to bug 1399242, we could use VisibilityHandler React Element to prevent doing unecessary React updates while the panel is in background: https://hg.mozilla.org/integration/autoland/rev/3742c29706eb Also, the new DAMP test specific to panels being in background should be tweaked to also cover the netmonitor: https://hg.mozilla.org/integration/autoland/rev/7eae6691b2f9 I opened this bug, mostly because of DAMP test that should be updated. But feel free to cover that in a PR.
Severity: normal → enhancement
Priority: -- → P2
Product: Firefox → DevTools
Blocks: dbg-perf
Priority: P2 → P3
Priority: P3 → P5
See Also: → 1589744
Severity: normal → S3
Blocks: 1938178
Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/07197254dc7f [devtools] Cover performances of the debugger while in background. r=perftest-reviewers,devtools-reviewers,nchevobbe,sparky https://hg.mozilla.org/integration/autoland/rev/b5713e78b623 [devtools] Stop background React updates when debugger is in background. r=devtools-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
Duplicate of this bug: 1938178
Regressions: 1948687
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: