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)

task

Tracking

()

People

(Reporter: mayankleoboy1, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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?

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.

Severity: -- → N/A
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: