Crates.io | bench |
lib.rs | bench |
version | 1.1.0 |
source | src |
created_at | 2017-12-05 22:30:24.60368 |
updated_at | 2021-04-20 15:36:17.137784 |
description | Run a program, measure execution time and print statistics. |
homepage | https://github.com/AlexanderThaller/bench-rs |
repository | https://github.com/AlexanderThaller/bench-rs |
max_upload_size | |
id | 41861 |
size | 27,296 |
Benchmark command line commands inspired by bench.
To install bench-rs just run the following command:
cargo install bench
bench 1.1.0
Alexander Thaller <alexander@thaller.ws>
Run a program, measure execution time and print statistics.
USAGE:
bench [OPTIONS] <command>...
FLAGS:
-h, --help
Prints help information
-V, --version
Prints version information
OPTIONS:
-d, --id <id>
id to save benchmark under. defaults to command value
-l, --loglevel <level>
loglevel to run under [default: info] [values: trace, debug, info, warn,
error]
-s, --sample_size <count>
how many samples to take [default: 100]
ARGS:
<command>...