Hyperfine: Compare the Speed of Two Commands

If you want to compare the speed of two arbitrary commands, use hyperfine. hyperfine creates a statistical analysis across multiple runs and detects outliers.

In the code above, I use hyperfine to compare the execution speed of two Python files.

Link to hyperfine.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top