3 ms·
Why does he pin this on the garbage collector?
by russell_h 16y ago
Why does he pin this on the garbage collector?
- hannesw 16y agoJust an educated guess. If you're allocating tons of objects and strings and your app gets slow, it's very likely to be the GC. But I don't know V8 well enough to say for sure.
- xearl 16y agoWhen plotting the response time over time, this educated guess becomes even more solid: http://earl.strain.at/2010/ringo-node-benchmark/buffer-alloc-scatter.png http://earl.strain.at/2010/ringo-node-benchmark/buffer-alloc... (This uses the very same dataset underlying the "buffer alloc" graph in the original post.)