Closed
Bug 746872
Opened 12 years ago
Closed 7 years ago
Console doing too much time in pruneConsoleOutputIfNecessary
Categories
(DevTools :: Console, defect, P2)
DevTools
Console
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: bzbarsky, Unassigned)
References
Details
This is called on every console.log call. It fetches preferences, does a slow querySelectorAll (in general, if you only want the first few elements in the list a getElementsByClassName will be _much_ faster, as long as you're careful to not get its .length), and forces layout computations. For best results, coalescing calls to this across multiple log() calls would help with the layout stuff; the other parts just need optimizing.
Updated•12 years ago
|
Updated•11 years ago
|
Priority: -- → P2
Comment 1•7 years ago
|
||
This is an implementation detail of the old frontend, so we can close this as we don't prune the same way in the new frontend.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•