12 ms·
Seeing as the interpreter takes about 60-70 ms to just start up and do nothing, I don't think we're going to be seeing any benchmarks in the microseconds.
by cferr 7y ago
Seeing as the interpreter takes about 60-70 ms to just start up and do nothing, I don't think we're going to be seeing any benchmarks in the microseconds.
$ time python -c pass
real 0m0.062s
user 0m0.011s
sys 0m0.042s
That was the quickest of three runs on one of my servers.
- zamfi 7y agoWhat's going on with your server? My 11-year-old Mac Pro runs python in 32 ms! Kidding aside, even just running an empty C program that does nothing still takes 5ms, so not just a Python problem...