Hacker News new | ask | show | jobs
by alz 5157 days ago
In the test, the node code is actually calling an asynchronous function fs.readFile on every single request:

https://gist.github.com/2650401

Even with os caching there is still quite a bit of overhead there. Would be interesting to see the benchmarks run on the corrected code:

https://gist.github.com/2650401