Get the latest tech news
Hyperfine: A command-line benchmarking tool
A command-line benchmarking tool. Contribute to sharkdp/hyperfine development by creating an account on GitHub.
If you want to run a series of benchmarks where a single parameter is varied (say, the number of threads), you can use the-P/--parameter-scan option and call: This is helpful for very fast commands (< 5 ms) where the shell startup overhead correction would produce a significant amount of noise. Hyperfine has multiple options for exporting benchmark results to CSV, JSON, Markdown and other formats (see--help text for details).
Or read this on Hacker News