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.
Ruff: The Fast All-in-One Python Code Quality Tool
Whalebrew: Containerize Your Command-Line Tools
Hydra: YAML-Based Config Management Made Simple
Your email address will not be published. Required fields are marked *
Name
Email
Website
Save my name, email, and website in this browser for the next time I comment.
Δ