4 ms·
It's much easier and more accurate to time your python scripts with `time python script.py`. Cool write up.
by Heston 3y ago
It's much easier and more accurate to time your python scripts with `time python script.py`. Cool write up.
- masklinn 3y ago`time` is absolutely awful, with the minor exception of bsd’s time maybe. If you’re going to benchmark scripts or executables, use hyperfine.
- akasakahakada 3y agoVery nice. Thanks for sharing. https://github.com/sharkdp/hyperfine https://github.com/sharkdp/hyperfine