9 ms·
Just 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
by hannesw 16y ago
Just 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.)