Open Bug 1725580 Opened 3 years ago Updated 2 years ago

console.log is incredibly slow

Categories

(DevTools :: Console, defect, P2)

Firefox 90
x86_64
Linux
defect

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
Attached file pertest.js

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.

(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.

OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Severity: -- → S3
Flags: needinfo?(odvarko)
Priority: -- → P2
Blocks: console-perf
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(odvarko)
Whiteboard: dt-perf-stability-triage
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: