Open Bug 1850079 Opened 10 months ago Updated 2 months ago

Javascript demo (https://www.fxhash.xyz/generative/26602) is 2x faster in Chrome compared to Nightly (time spent in generators)

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

People

(Reporter: mayankleoboy1, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug, )

Details

Summary: Javascript demo (https://www.fxhash.xyz/generative/26104) is 2x faster in Chrome compared to Nightly → Javascript demo (https://www.fxhash.xyz/generative/26602) is 2x faster in Chrome compared to Nightly
Severity: -- → N/A
Priority: -- → P3

The profile's flame graph suggests part of this is likely array sorting overhead.

will retest once bug 1884360 lands

New profile : https://share.firefox.dev/3TUPMTJ (6.5s)
Time spent in sorting appears to be reduced I think. js::ArraySortData::sortWithComparator has 6.3% overall time.

See Also: → 1855968

This is what I get on the latest Nightly (which contains fix from bug 1889685 : https://share.firefox.dev/3UEfQTt

The hottest function in that profile is W, which appears to be a generator. That might explain some of the remaining gap.

Depends on: 1317690
Summary: Javascript demo (https://www.fxhash.xyz/generative/26602) is 2x faster in Chrome compared to Nightly → Javascript demo (https://www.fxhash.xyz/generative/26602) is 2x faster in Chrome compared to Nightly (time spent in generators)
You need to log in before you can comment on or make changes to this bug.