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.
Your email address will not be published. Required fields are marked *
Name*
Email*
Website
Yes, add me to your mailing list
Δ