Open Bug 1925065 Opened 1 month ago Updated 4 days ago

Nightly is 2.4x slower than Chrome on an online demo (https://www.compresh.dev/) and uses more memory

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

People

(Reporter: mayankleoboy1, Unassigned)

References

(Blocks 1 open bug, )

Details

Attachments

(2 files)

Attached file sample text.txt

Go to https://www.compresh.dev/
Delete the text in the left-pane
Slide the compression level slider all the way to the right (=9)
Copy-paste the attached sample text

Chrome: https://share.firefox.dev/403Wg6b (1.3s)
Nightly: https://share.firefox.dev/4f2nFK2 (3.2s)

Attached file memory-report.json.gz

Chrome used ~400MB memory for the tab.
On a larger sample input, Chrome took 1.2GB and Firefox took 2GB.

A lot of time under Map.prototype.set, a lot of it comparing Values?

Also Set construction shows up. That's bug 1851662.

Depends on: 1851662
Severity: -- → N/A
Priority: -- → P3

Profile with latest Nightly containing the fix from bug 1927464 and bug 1927405 : https://share.firefox.dev/3YY1gIO (3.2s)

Profile with patches containing fix from bug 1928666: https://share.firefox.dev/3YQ6N2O (3s)

Profile with fixes from bug 1931815: https://share.firefox.dev/3ZfTI44

Profilw of a 8MB text file: https://share.firefox.dev/4fOcRjc (The gc function names are something i havent seen before. Also interesting that a lot of the marking is not spread on parallel threads)

See Also: → 1932546

With latest Nightly:
Profile of testcase: https://share.firefox.dev/3CDJUbf
Profile of 8mb file: https://share.firefox.dev/3CIEDzq

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: