Open Bug 1881911 Opened 1 year ago Updated 1 year ago

Nightly is 2.5x slower than Chrome on an online text comparator

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

People

(Reporter: mayankleoboy1, Unassigned)

References

(Blocks 2 open bugs, )

Details

Attachments

(2 files)

Go to https://www.textcompare.org/
From the attached text files, select the "original" and the "modified" files
Click on compare. Make sure that the type of comparison is for Plaintext.

Chrome: https://share.firefox.dev/4bSQ44H (6s)
Nightly: https://share.firefox.dev/3IcghNL (14s)

Attached file Original.txt
Attached file Modified.txt
Duplicate of this bug: 1881910
Attachment #9382463 - Attachment description: Modified.js → Modified.txt
Attachment #9382463 - Attachment mime type: application/x-javascript → text/plain
Severity: -- → N/A
Priority: -- → P3

Reposting comment from :iain from https://bugzilla.mozilla.org/show_bug.cgi?id=1881910#c2 here:

(In reply to Iain Ireland [:iain] from comment #2)

Glancing at the profile, V8 is spending 93% of the time in compute, while we're only spending 32%. However, all the other hot functions are being called directly from compute. Collapsing the subtree underneath compute gives 95% for us. I think this implies that V8 is inlining more aggressively than we are, in which case maybe they can do a better job of optimizing the code post-inlining.

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

Attachment

General

Creator:
Created:
Updated:
Size: