←back to thread

238 points hundredwatt | 1 comments | | HN request time: 0.199s | source
Show context
usrme ◴[] No.42181277[source]
I've also had a good experience using the 'perf'[^1] tools for when I don't want to install 'hyperfine'. Shameless plug for a small blog post about it as I don't think it is that well known: https://usrme.xyz/tils/perf-is-more-robust-for-repeated-timi....

---

[^1]: https://www.mankier.com/1/perf

replies(2): >>42181740 #>>42182900 #
1. vdm ◴[] No.42181740[source]
I too have scripted time(1) in a loop badly. perf stat is more likely to be already installed than hyperfine. Thank you for sharing!