From cda5816dd39016076269024ef868e94c07a3e0c8 Mon Sep 17 00:00:00 2001 From: David Peter Date: Wed, 24 Jan 2018 08:32:11 +0100 Subject: [PATCH] Remove prompt characters --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f851b3a..4df0ae4 100644 --- a/README.md +++ b/README.md @@ -24,14 +24,14 @@ A command-line benchmarking tool (*inspired by [bench](https://github.com/Gabrie To run a benchmark, you can simply call `hyperfine ...`. The argument(s) can be any shell command. For example: ``` bash -> hyperfine 'sleep 0.3' +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. To change this, you can use the `-m`/`--min-runs` option: ``` bash -> hyperfine --min-runs 5 'sleep 0.2' 'sleep 3.2' +hyperfine --min-runs 5 'sleep 0.2' 'sleep 3.2' ``` ### I/O-heavy programs @@ -42,7 +42,7 @@ influence by disk caches and whether they are cold or warm. If you want to run the benchmark on a warm cache, you can use the `-w`/`--warmup` option to perform a certain number of program executions before the actual benchmark: ``` bash -> hyperfine --warmup 3 'grep -R TODO *' +hyperfine --warmup 3 'grep -R TODO *' ``` Conversely, if you want to run the benchmark for a cold cache, you can use the `-p`/`--prepare`