3 ms·
The memory usage difference you're seeing is likely a GC scheduling issue in Bun (not a JS engine thing) Bun isn't scheduling the garbage collector between mic
by Jarred 4y ago
The memory usage difference you're seeing is likely a GC scheduling issue in Bun (not a JS engine thing)
Bun isn't scheduling the garbage collector between microtask ticks and we might need to start doing that to reduce memory usage. We did that in Bun v0.3 for the event loop, but we didn't do it for the microtask queue.