Closed
Bug 746871
Opened 13 years ago
Closed 11 years ago
Console spends too much time doing HS_regroupOutput
Categories
(DevTools :: Console, defect, P2)
DevTools
Console
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 25
People
(Reporter: bzbarsky, Unassigned)
References
Details
(Whiteboard: [fixed by bug 793996])
On every call to console.log() it looks like we call HS_regroupOutput. This ends up evaluating a fairly slow selector on everything in the console, then steps through everything in the console and twiddles its classes. This is one of the sources of the nodelist .length gets (one per loop iteration, instead of grabbing the length up front), and presumably the source of a lot of the .classList and class-changing stuff.
If there's any way this could be coalesced across multiple log() calls, that would probably help a lot.
Updated•12 years ago
|
Blocks: console-output
Priority: -- → P2
Comment 1•11 years ago
|
||
bz, thank you for the bug report!
HS_regroupOutput() has been removed in bug 793996.
Status: NEW → RESOLVED
Closed: 11 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Whiteboard: [fixed by bug 793996]
Target Milestone: --- → Firefox 25
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•