Open Bug 1403894 Opened 6 years ago Updated 6 months ago

Reduce the number of 2s+ BHR reports about devtools


(DevTools :: General, enhancement, P2)



(firefox57 fix-optional)

Tracking Status
firefox57 --- fix-optional


(Reporter: ochameau, Unassigned)


(Depends on 1 open bug, Blocks 1 open bug)


(Whiteboard: [bhr][bhr-html])

As of today devtools codebase is involved in many BHR (Background Hang reports).

For example, at least 5% of all BHR longer than 2s are related to network monitor.
And devtools/client/netmonitor/src/middleware/batching.js:89 represents 80% of all BHR related to detools.

You can see and track the evolution on this page:
Depends on: 1403884
Whiteboard: [bhr]
Priority: -- → P2
Whiteboard: [bhr] → [bhr][bhr-html]
Depends on: 1407988
It looks like BHR hangs >= 1s related to devtools drastically reduced since Nov 22th:
Most likely thanks to bug 1404917 and bug 1408182.

Looking at past 9 days view for hangs >=4s, the stacks also drastically changed:
Before 22th, netmonitor's batching.js:89 was 83% and console's new-console-output-wrapper.js:298 was 13%
of overall 4s+ hangs related to devtools.
After 22th, netmonitor is 39% while console is 30%. (new-console-output-wrapper.js has two offending lines: 305 and 299).

So today, netmonitor is competing with console regarding very long hangs.
I hope that netmonitor is going to continue dropping down as we fix bug 1404913.

On the console side, may be bug 1368100 (remove immutable) would fix long hangs as it fixed them for netmonitor?
Product: Firefox → DevTools
Severity: normal → enhancement
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.