Closed Bug 1814558 Opened 3 years ago Closed 3 years ago

A simple JS/WASM demo spends 8 seconds in GCMajor while the actual demo runtime is only 100ms

Categories

(Core :: JavaScript: GC, defect)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mayankleoboy1, Unassigned)

References

()

Details

Attachments

(1 file)

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.

Attached file about:support —

Could repro this "bug" on a build from Jan-2022, so this is not a recent "regresion"

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).

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: