3 ms·
I benchmarked this a few weeks ago at around ~300req/s on my recent macbook, which was a little disappointing. For kicks, here's my CoffeeScript/Node.js code I
by fizx 17y ago
I benchmarked this a few weeks ago at around ~300req/s on my recent macbook, which was a little disappointing.
For kicks, here's my CoffeeScript/Node.js code I used. I did the benchmark with ab entirely on localhost. Normally that's not ideal, but it was enough to tell that this isn't as fast as I'd like.
http://gist.github.com/382372 http://gist.github.com/382372
- felixge 17y agoYou need to create a new client for each incoming request. In your code, you are actually queuing up all responses. So your result is probably an order of magnitude off.