Closed
Bug 757113
Opened 13 years ago
Closed 13 years ago
don't freeze Firefox with heavy console.log spew
Categories
(DevTools :: Console, defect)
DevTools
Console
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 722685
People
(Reporter: luke, Unassigned)
Details
I was just working w/ a gamedev who couldn't use FF to debug their problem because it was hanging. It turns out that they were spewing a lot with console.log and this was spending a lot of time in layout. The first interesting thing is that it doesn't take a whole bunch to lock up the console: ~1000 messages all with length < 1000 chars. Chrome deals with this a lot better than FF in this regard.
Now, I believe doing layout requires the main thread so it is hard to simply offload all this work to a worker. Instead, could we perhaps do some sort of lazy/incremental creation of the DOM nodes? That way, we'd never be doing more than a fixed amount of layout at a time. Things like "Filter" could still work and help the dev jump to just the part they want.
Comment 1•13 years ago
|
||
Thanks for your bug report! We will fix this bug as soon as possible.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•