Closed Bug 746871 Opened 12 years ago Closed 11 years ago

Console spends too much time doing HS_regroupOutput

Categories

(DevTools :: Console, defect, P2)

defect

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.
Priority: -- → P2
Depends on: 793996
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
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.