Debian Codegraph @

src/uu/rm/benchmark.sh

raw
1 #!/bin/bash
2
3 # Exit on any failures
4 set +x
5
6 cargo build --no-default-features --features rm --release
7 test_dir="$1"
8 hyperfine --prepare "cp -r $test_dir tmp_d" "rm -rf tmp_d" "target/release/coreutils rm -rf tmp_d"