mirror of
https://github.com/sharkdp/hyperfine.git
synced 2024-11-25 08:33:59 +03:00
22 lines
643 B
Markdown
22 lines
643 B
Markdown
# hyperfine
|
|
|
|
A command-line benchmarking tool (inspired by [bench](https://github.com/Gabriel439/bench)).
|
|
|
|
Usage:
|
|
``` bash
|
|
> hyperfine 'sleep 0.3' 'sleep 1.7'
|
|
```
|
|
|
|
## Features
|
|
|
|
* Statistical analysis across multiple runs.
|
|
* Support for arbitrary shell commands-
|
|
* Visual indication of the benchmark progress.
|
|
* Warmup runs that are executed before the actual benchmark.
|
|
|
|
## Origin of the name
|
|
|
|
The name *hyperfine* was chosen in reference to the hyperfine levels of caesium 133 which play a crucial role in the
|
|
[definition of our base unit of time](https://en.wikipedia.org/wiki/Second#Based_on_caesium_microwave_atomic_clock)
|
|
— the second.
|