TechEmpower/FrameworkBenchmarks — pull request #142 by jonathanong (2013-04-12 05:07:31+00:00)
Title: improve node.js test with streams

the point of node.js is streams and your tests didn't utilize them. i updated the code to stream the JSON response and refactored the code since you have so much repetition. yes, this is more complicated, but because of that, i wouldn't bother updating the express test.

i don't know why you guys `process.nextTick()`d `mongodbDriverQuery` but it's pointless.

you did some other silly stuff like `x < '10'` and `x += 1`.

i removed `async` as a dependency, but not from the `package.json` because i'm doing this through GitHub. this is also not tested because this suite takes too much effort to setup. let me know if you guys run into issues.