created by Austin Poor
A CLI for timing command line program execution, written in Rust.
bash
cargo install timeme
Here's a quick look at timeme
's help:
```bash timeme 0.2.4 $ timeme --help
Austin Poor a-poor@users.noreply.github.com
Times the execution of a command.
USAGE:
timeme [OPTIONS]
ARGS:
FLAGS: -h, --help Print help information -V, --version Print version information
OPTIONS:
-n, --number
And here's what it looks like in action:
bash
$ timeme echo Hello, world!
1.281654ms (+/- 412.714µs) for 156 loops
You can specify the number of times to run the command.
bash
$ timeme -n 10 echo Hello, world!
1.48318ms (+/- 326.664µs) for 10 loops
Or, if you leave -n
blank, timeme
will run the command repeatedly until
it's been run for at least 0.2 seconds.