mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-26 18:10:05 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa89267547 | ||
|
|
1f5a2ff70c | ||
|
|
c0b3834277 |
No files matched your search
@@ -79,6 +79,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
job:
|
job:
|
||||||
- { target: aarch64-unknown-linux-gnu , os: ubuntu-24.04, use-cross: true }
|
- { target: aarch64-unknown-linux-gnu , os: ubuntu-24.04, use-cross: true }
|
||||||
|
- { target: aarch64-unknown-linux-musl , os: ubuntu-24.04, use-cross: true }
|
||||||
- { target: arm-unknown-linux-gnueabihf , os: ubuntu-24.04, use-cross: true }
|
- { target: arm-unknown-linux-gnueabihf , os: ubuntu-24.04, use-cross: true }
|
||||||
- { target: arm-unknown-linux-musleabihf, os: ubuntu-24.04, use-cross: true }
|
- { target: arm-unknown-linux-musleabihf, os: ubuntu-24.04, use-cross: true }
|
||||||
- { target: i686-pc-windows-msvc , os: windows-2022 }
|
- { target: i686-pc-windows-msvc , os: windows-2022 }
|
||||||
|
|||||||
@@ -33,8 +33,9 @@ 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 measure for at least 3 seconds. To change this,
|
it will perform *at least* 10 benchmarking runs and estimate a run count targeting roughly
|
||||||
you can use the `-r`/`--runs` option:
|
3 seconds, including shell overhead and preparation and conclusion commands. To set an exact
|
||||||
|
number of runs, you can use the `-r`/`--runs` option:
|
||||||
```sh
|
```sh
|
||||||
hyperfine --runs 5 'sleep 0.3'
|
hyperfine --runs 5 'sleep 0.3'
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in new issue
Block a user