3 ms·
Here you go, on a BeagleBoneBlack: $ time python3 -c "print('hello')" hello real 0m0.223s user 0m0.148s sys 0m0.047s and, for t
by cozzyd 4y ago
Here you go, on a BeagleBoneBlack:
$ time python3 -c "print('hello')"
hello
real 0m0.223s
user 0m0.148s
sys 0m0.047s
and, for the record:
$ python3 bench.py
python-speed v1.3 using python v3.7.3
string/mem: 46673.98 ms
pi calc/math: 98650.32 ms
regex: 38489.41 ms
fibonnaci/stack: 30723.3 ms
multiprocess: 75500.34 ms
total: 290037.35 ms (lower is better)
Might get a little better with some tweaking of performance governors / idle states enabled but, yeah...