6 ms·
It's important to note that some languages (particularly Java) don't ramp up to their full speed until they are properly warmed up. It also sounds like the auth
by RandomBK 11y ago
It's important to note that some languages (particularly Java) don't ramp up to their full speed until they are properly warmed up. It also sounds like the author included startup time in the measurements, which will skew results for the lower values of n.
Overall, be very careful of micro-benchmarks like these. The conclusions that you can draw from them are tenuous at best, and usually have little bearing on the performance of an actual program.