Open Bug 1815823 Opened 2 years ago Updated 1 year ago

JS demo (https://www.fxhash.xyz/generative/24521) is slower to load in Nightly compared to Chrome

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

People

(Reporter: mayankleoboy1, Unassigned)

References

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

Details

Nightly with GC parallel marking disabled: https://share.firefox.dev/40UdvVR

The stacks in these profiles don't entirely make sense. There are instances of the GC calling back into JIT code in both of them, which never happens.

The first issue I see is that we're doing a lot of minor GCs. Maybe there's another kind of allocation we could pretenure to address this.

Severity: -- → N/A
Priority: -- → P3

Latest profile: https://share.firefox.dev/3JOjswf
The GC heavy part has reduced by 50% now (8.5seconds -> 4.5 seconds)

All timings are for the JS heavy part of the profile:
2023-02-09 : 8.5 seconds (profile in comment #0)
Bug 1483869 part 12: 8.5seconds -> 6.5seconds
Bug 1823811: 6.5seconds - > 5.3 seconds

and if you enable parallel marking, it shaves off another 0.5 seconds

Depends on: 1483869, 1823811
Depends on: 1795640
You need to log in before you can comment on or make changes to this bug.