A simple JS/WASM demo spends 8 seconds in GCMajor while the actual demo runtime is only 100ms
Categories
(Core :: JavaScript: GC, defect)
Tracking
()
People
(Reporter: mayankleoboy1, Unassigned)
References
()
Details
Attachments
(1 file)
|
36.06 KB,
text/plain
|
Details |
Go to https://www.fxhash.xyz/generative/slug/black-and-white-2
Click on "Run" . After a few seconds, you can click on "Variations" multiple times taking a pause of a few seconds each time you press the button.
Each time you click on the variations, a new GC is triggered that lasts for multiple seconds.
In case this doesnt repro on the first go, force-reload the page and try again.
Nightly: https://share.firefox.dev/3l4EsFy
This looked a bit odd, so filed this bug. Feel free to resolve as invalid.
| Reporter | ||
Comment 1•3 years ago
|
||
| Reporter | ||
Comment 2•3 years ago
|
||
Could repro this "bug" on a build from Jan-2022, so this is not a recent "regresion"
Comment 3•3 years ago
|
||
It looks like this is an incremental GC where the GCMajor marker covers the whole GC even though we do other things between slices. The "total slice times" is about 3 ms (you can see this if you hover over the GCMajor bar).
Description
•