Open Bug 1811753 Opened 3 years ago Updated 4 months ago

JS demo (https://www.fxhash.xyz/generative/15111) is 1.8x slower in Nightly compared to Chrome

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

People

(Reporter: mayankleoboy1, Unassigned)

References

(Blocks 1 open bug)

Details

Go to https://www.fxhash.xyz/generative/15111
Click on "Run"

Nightly (partial profile): https://share.firefox.dev/3ZS1saT
Chrome (partial profile): https://share.firefox.dev/3ZNpHHj

Duplicate of this bug: 1811754

This has some slow IonGetPropertyIC::update time I should probably glance at to see which case we're missing.

Severity: -- → S4
Flags: needinfo?(jdemooij)
Priority: -- → P3

(In reply to Jan de Mooij [:jandem] from comment #2)

This has some slow IonGetPropertyIC::update time I should probably glance at to see which case we're missing.

It's accessing an array object, but they sometimes pass a negative int32 value as index, confusing our ICs. It would be nice to handle this better but it's also a bug in their JS code.

Flags: needinfo?(jdemooij)
See Also: → 1816609
Summary: JS demo (https://www.fxhash.xyz/generative/15111) is slower in Nightly compared to Chrome → JS demo (https://www.fxhash.xyz/generative/15111) is 1.8x slower in Nightly compared to Chrome
See Also: → 1938100

Latest profile: https://share.firefox.dev/4gMpBI2 (18/19s)
Not much change from bug 1938518 (as expected)

Latest profile: https://share.firefox.dev/4alhDTN (12s)
So we improved here by 30% . I will put the blame on bug 1932864.

Depends on: 1932864
Type: task → defect
You need to log in before you can comment on or make changes to this bug.