Open Bug 1419352 Opened 3 years ago Updated 10 months ago

Stop doing React updates while debugger is in background

Categories

(DevTools :: Debugger, enhancement, P5)

enhancement

Tracking

(Not tracked)

People

(Reporter: ochameau, Unassigned)

References

(Blocks 1 open bug)

Details

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
You need to log in before you can comment on or make changes to this bug.