From 0bb209e509d42df7bd212976ad07f8ae9ec9b927 Mon Sep 17 00:00:00 2001 From: David Peter Date: Fri, 2 Oct 2026 11:53:16 +0200 Subject: [PATCH] Describe the default benchmark duration as an estimate (#941) --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 79aad97..2473c01 100644 --- a/README.md +++ b/README.md @@ -33,8 +33,9 @@ hyperfine 'sleep 0.3' ``` 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, -you can use the `-r`/`--runs` option: +it will perform *at least* 10 benchmarking runs and estimate a run count targeting roughly +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 hyperfine --runs 5 'sleep 0.3' ```