File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,21 +23,21 @@ This three-way comparison provides clear insights into:
2323First, you will need to build the binary in release mode. Debug builds are significantly slower:
2424
2525``` bash
26- cargo build --features unix --release
26+ cargo build --features unix --profile profiling
2727```
2828
2929``` bash
3030# Three-way comparison benchmark
3131hyperfine \
3232 --warmup 3 \
3333 " /usr/bin/ls -R ." \
34- " ./target/release /coreutils.prev ls -R ." \
35- " ./target/release /coreutils ls -R ."
34+ " ./target/profiling /coreutils.prev ls -R ." \
35+ " ./target/profiling /coreutils ls -R ."
3636
3737# can be simplified with:
3838hyperfine \
3939 --warmup 3 \
40- -L ls /usr/bin/ls," ./target/release /coreutils.prev ls" ," ./target/release /coreutils ls" \
40+ -L ls /usr/bin/ls," ./target/profiling /coreutils.prev ls" ," ./target/profiling /coreutils ls" \
4141 " {ls} -R ."
4242```
4343
You can’t perform that action at this time.
0 commit comments