Both also make it pretty natural to async everything. If Node beat either in a distributed benchmark it would be a shock to all involved.
Seriously though, Node is written in C++ and is a single threaded interpreted / Jitted / Garbage Collected Virtual Machine which has to jump through trampolines and layers of abstraction to call system services.
While it might be very efficient at what it does, it isn't as close to the machine as a native C++ application.
One asynchronous WebSocket server written in C++ can run rings around one Node WebSocket server.
If the premise is that to mitigate this we can set up an entire cluster of node servers that will beat the C++ server, it follows that we can set up an entire cluster of C++ servers that would be even faster.
C++ is faster in every regard. There is no "usually", about it.
If we are talking about some metric like programmer productivity, sure sometimes it takes more effort to write code in C++ to achieve what may take a single line in Node.
Otherwise, totally agreed.
Right tool for the right job is fine
The trick is to minimize aggregate kWh of energy use per unit task. Sometimes that means ordering a take out, and occasionally baking a pie.
A lot of the time I'm in the position of buildng upstream tools and platforms for people downstream, so whatever I do has a direct impact on their performance. The way I look at it is it is my duty to make them look good.
I do take that a little far though on occasion. Shipping is a feature too of course. Heh.
In the end, if you're within 10% is probably moot, and at 39% on a single instance for node, that's very impressive and once you add multiple system, multiple instances per system aren't any harder and node would probably make up most of the difference.