Closed Bug 1361149 Opened 7 years ago Closed 7 years ago

_findActivityObject should use a Map

Categories

(DevTools :: Netmonitor, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1361140

People

(Reporter: jryans, Unassigned)

References

Details

From bug 1361140 with Browser Console open:

- _findActivityObject dominates the profile: https://perfht.ml/2p2cjx7 45% / 1800ms of CPU spent in it. Looking at the code (http://searchfox.org/mozilla-central/rev/3dc6ceb42746ab40f1441e1e659ffb8f62ae78e3/devtools/shared/webconsole/network-monitor.js#1180) shows this is an inefficient loop that should be replaced with a map.
Whiteboard: [photon-performance][qf]
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Whiteboard: [photon-performance][qf]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.