The WeakSet profile roughly breaks down as follows: * 28% waiting for a helper thread under `js::GCParallelTask::joinNonIdleTask`. * 24% under `AddWeakSetEntryImpl`, mostly jemalloc and barrier overhead. * 19% under `GCRuntime::findSweepGroupEdges`. * 17% under `:StoreBuffer::ValueEdge::trace` as part of a minor GC. The WeakMap one is similar.
Bug 1952626 Comment 2 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
The WeakSet profile roughly breaks down as follows: * 28% waiting for a helper thread under `js::GCParallelTask::joinNonIdleTask`. * 24% under `AddWeakSetEntryImpl`, mostly jemalloc and barrier overhead. * 19% under `GCRuntime::findSweepGroupEdges`. * 17% under `StoreBuffer::ValueEdge::trace` as part of a minor GC. The WeakMap one is similar.