(through https://rustup.rs)
hyperfine --warmup=1 'cargo install -f ripgrep@14.1.0'
nix-shell -p cargo hyperfine --run "hyperfine --warmup=1 'cargo install -f ripgrep@14.1.0'"
This won't be quite as comparable, hyperfine is really great for benchmarking, but if you only have cargo
, just run the install twice:
cargo install -f ripgrep@14.1.0 && cargo install -f ripgrep@14.1.0
X13 Yoga - 25s
First run on a (literal) cold boot was 12s, thermal throttling is a harsh mistress.