3 ms·
> due to the fact that the dominating factor is the network stack (and not the event reactor model or implementation) Good point. Sometimes it is necessary to
by rdtsc 14y ago
> due to the fact that the dominating factor is the network stack (and not the event reactor model or implementation)
Good point. Sometimes it is necessary to tweak OS network settings (increase # of ports, file descriptors etc).
> Arithmetic benchmarks are a proxy to measure the distance to bare metal.
Presumably node is to be used in a heavily IO concurrent environment. Multiple connections coming and going. Single arithmetic benchmarks don't matter much or how close to the metal they are, that is not what node is mostly used for (if it is used for that those block the whole process and make for a pretty bad server). So a better test is to see how node handles 100000 connections, so maybe a mix concurrent connections and arithmetic benchmarks? 100000 users connect and do some arithmetic operations.