Open Bug 2098639 Opened 1 day ago Updated 1 day ago

Drain pending wrapper preservations when we reach the max capacity

Categories

(Core :: JavaScript Engine, task)

task

Tracking

()

ASSIGNED

People

(Reporter: jandem, Assigned: jandem)

References

(Blocks 1 open bug)

Details

We stop using our fast path for wrapper preservation when the buffer reaches its max capacity (8192 entries). It's probably better to drain the buffer at that point so that we can use the fast path again for the next 8192 objects.

This shows up in profiles of multiple sp-experimental workloads. A micro-benchmarks is about 30% faster with this change.

Blocks: speedometer4
No longer blocks: speedometer3
You need to log in before you can comment on or make changes to this bug.