mirror of
https://github.com/ccxvii/mujs.git
synced 2026-02-06 01:41:37 +08:00
They're not negligible in the overall count. This decreases the performance of scripts which use objects with many properties because the GC threshold remains the same (10K) but it's reached quicker due to counting more allocations, so GC is more frequent and wastes more overall time. Good example of the performance impact is the splay.js v8 bench test, where this commit reduces its score by a factor of 5. We're not changing the threshold because it's arbitrary anyway, but the next commit will change it in a way which allows more proportional control of the GC overhead.
8.0 KiB
8.0 KiB