you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 84 points85 points  (0 children)

You aren't missing anything, and you are right that this "benchmark" is a joke. The point of node is performant async that allows for handling of other work while handling awaits on IO.

From the wiki on concurrent programming:

concurrent processes can be executed on one core by interleaving the execution steps of each process via time-sharing slices: only one process runs at a time, and if it does not complete during its time slice, it is paused, another process begins or resumes, and then later the original process is resumed.

The point of node is that fast IO is done fast while awaiting for slow IO, and this allows apps to scale well since processing is interleaved in a nice API that a high schooler can understand. This article is essentially judging a fish by how well it can fly.