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)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: mayankleoboy1, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug, )
Details
Go to https://www.fxhash.xyz/generative/26602
Nightly: https://share.firefox.dev/3QSv1a6 (8.3 seconds)
Chrome: https://share.firefox.dev/44unzFo (4 seconds)
Reporter | ||
Updated•10 months ago
|
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
Updated•10 months ago
|
Severity: -- → N/A
Priority: -- → P3
Comment 1•10 months ago
|
||
The profile's flame graph suggests part of this is likely array sorting overhead.
Reporter | ||
Comment 2•3 months ago
|
||
will retest once bug 1884360 lands
Reporter | ||
Comment 3•3 months ago
|
||
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.
Reporter | ||
Comment 4•2 months ago
|
||
This is what I get on the latest Nightly (which contains fix from bug 1889685 : https://share.firefox.dev/3UEfQTt
Comment 5•2 months ago
|
||
The hottest function in that profile is W, which appears to be a generator. That might explain some of the remaining gap.
Reporter | ||
Updated•2 months ago
|
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.
Description
•