mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-27 10:20:48 +00:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bd2517fdd2 |
@@ -33,9 +33,8 @@ hyperfine 'sleep 0.3'
|
|||||||
```
|
```
|
||||||
|
|
||||||
Hyperfine will automatically determine the number of runs to perform for each command. By default,
|
Hyperfine will automatically determine the number of runs to perform for each command. By default,
|
||||||
it will perform *at least* 10 benchmarking runs and estimate a run count targeting roughly
|
it will perform *at least* 10 benchmarking runs and measure for at least 3 seconds. To change this,
|
||||||
3 seconds, including shell overhead and preparation and conclusion commands. To set an exact
|
you can use the `-r`/`--runs` option:
|
||||||
number of runs, you can use the `-r`/`--runs` option:
|
|
||||||
```sh
|
```sh
|
||||||
hyperfine --runs 5 'sleep 0.3'
|
hyperfine --runs 5 'sleep 0.3'
|
||||||
```
|
```
|
||||||
@@ -213,13 +212,6 @@ cave resolve -x repository/rust
|
|||||||
cave resolve -x hyperfine
|
cave resolve -x hyperfine
|
||||||
```
|
```
|
||||||
|
|
||||||
### On Funtoo Linux
|
|
||||||
|
|
||||||
On Funtoo Linux, hyperfine can be installed [from core-kit](https://github.com/funtoo/core-kit/tree/1.4-release/app-benchmarks/hyperfine):
|
|
||||||
```
|
|
||||||
emerge app-benchmarks/hyperfine
|
|
||||||
```
|
|
||||||
|
|
||||||
### On NixOS
|
### On NixOS
|
||||||
|
|
||||||
On NixOS, hyperfine can be installed [from the official repositories](https://nixos.org/nixos/packages.html?query=hyperfine):
|
On NixOS, hyperfine can be installed [from the official repositories](https://nixos.org/nixos/packages.html?query=hyperfine):
|
||||||
|
|||||||
Reference in new issue
Block a user