console.log is incredibly slow
Categories
(DevTools :: Console, defect, P2)
Tracking
(Not tracked)
People
(Reporter: wevow74629, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: dt-perf-stability-triage)
Attachments
(1 file)
356 bytes,
application/x-javascript
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
Steps to reproduce:
Run the attached script in Firefox with Console open. Script logs 0 to 5000 in a console.
Also test the same with Chrome.
Actual results:
When console is closed, Chrome & Firefox almost take the same amount to execute.
When console is open, Firefox takes around 10X more time & Chrome only 2X.
Firefox feels incredibly slow & sometimes often freezes with even bigger frequency of logs.
Expected results:
Console should be faster, development of some apps & games require lots of console logs to develop & Firefox is simply unusable for those cases.
So user have to use Chrome for development.
Reporter | ||
Comment 1•3 years ago
|
||
(In reply to wevow74629 from comment #0)
Created attachment 9236141 [details] pertest.js
Version 90.
Steps to reproduce:
Run the attached script in Firefox with Console open. Script logs 0 to 5000 in a console.
Also test the same with Chrome.
Actual results:
When console is closed, Chrome & Firefox almost take the same amount to execute.
When console is open, Firefox takes around 10X more time & Chrome only 2X.
Firefox feels incredibly slow & sometimes often freezes with even bigger frequency of logs.
Expected results:
Console should be faster, development of some apps & games require lots of console logs to develop & Firefox is simply unusable for those cases. So user have to use Chrome for development.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Description
•