mirror of
https://github.com/uutils/coreutils
synced 2025-01-10 12:19:18 +00:00
422a27d375
author Sylvestre Ledru <sylvestre@debian.org> 1677865358 +0100 committer Sylvestre Ledru <sylvestre@debian.org> 1677951797 +0100 md: Fix a bunch of warnings in the docs
603 B
603 B
Benchmarking to measure performance
To compare the performance of the uutils
version of seq
with the
GNU version of seq
, you can use a benchmarking tool like
hyperfine. On Ubuntu 18.04 or later, you can install hyperfine
by
running
sudo apt-get install hyperfine
Next, build the seq
binary under the release profile:
cargo build --release -p uu_seq
Finally, you can compare the performance of the two versions of head
by running, for example,
hyperfine "seq 1000000" "target/release/seq 1000000"