Open
Bug 1997835
Opened 11 months ago
Updated 11 months ago
Pasting 1MB of text on the "To" field of gmail spends 38 seconds in js. Chrome is much faster.
Categories
(Core :: JavaScript Engine, task, P3)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: mayankleoboy1, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
1.03 MB,
application/x-javascript
|
Details |
Open gmail on the web
create a new email
In the "To" field, paste the attached sample text
firefox: https://share.firefox.dev/4oVkMQp / https://share.firefox.dev/4oSLLvL (36s of solid time in js)
Chrome: https://share.firefox.dev/43GgNic (much faster,looks mostly style/layout)
Maybe something to improve?
Comment 1•11 months ago
|
||
A lot of time under the String constructor, converting an object to string. Most of that is calling into JIT code but there's a bunch of overhead for each call.
Updated•11 months ago
|
Severity: -- → N/A
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•