https://github.com/alexanderthaller/bench-rs
Run a program, measure execution time and print statistics
https://github.com/alexanderthaller/bench-rs
benchmark cli tool
Last synced: over 1 year ago
JSON representation
Run a program, measure execution time and print statistics
- Host: GitHub
- URL: https://github.com/alexanderthaller/bench-rs
- Owner: AlexanderThaller
- License: mit
- Created: 2017-12-05T16:16:36.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-04-21T13:14:12.000Z (about 5 years ago)
- Last Synced: 2025-03-06T08:14:19.383Z (over 1 year ago)
- Topics: benchmark, cli, tool
- Language: Rust
- Homepage:
- Size: 24.4 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bench-rs
Benchmark command line commands inspired by [bench](https://github.com/Gabriel439/bench).
## Install
To install bench-rs just run the following command:
```
cargo install bench
```
## CLI Help
```
bench 1.1.0
Alexander Thaller
Run a program, measure execution time and print statistics.
USAGE:
bench [OPTIONS] ...
FLAGS:
-h, --help
Prints help information
-V, --version
Prints version information
OPTIONS:
-d, --id
id to save benchmark under. defaults to command value
-l, --loglevel
loglevel to run under [default: info] [values: trace, debug, info, warn,
error]
-s, --sample_size
how many samples to take [default: 100]
ARGS:
...
```
## Example