Console spends too much time doing HS_regroupOutput

RESOLVED FIXED in Firefox 25

Status

()

Firefox
Developer Tools: Console
P2
normal
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: bz, Unassigned)

Tracking

(Blocks: 1 bug)

unspecified
Firefox 25
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

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

5 years ago
Blocks: 778766
Priority: -- → P2

Updated

5 years ago
Depends on: 793996
bz, thank you for the bug report!

HS_regroupOutput() has been removed in bug 793996.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Whiteboard: [fixed by bug 793996]
Target Milestone: --- → Firefox 25
You need to log in before you can comment on or make changes to this bug.