Skip to content
Myr

Use a file in the no-shell grep example (#937)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* Use a file in the no-shell grep example * Use recursive grep in the no-shell example

authored by David Peter · committed by GitHub · parent 0bb209e · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:README.md+1 added-1 removed
103 unmodified lines
104If you want to run a benchmark *without an intermediate shell*, you can use the `-N` or `--shell=none`105option. This is helpful for very fast commands (< 5 ms) where the shell startup overhead correction would106produce a significant amount of noise. Note that you cannot use shell syntax like `*` or `~` in this case.107```108hyperfine -N 'grep TODO /home/user'108hyperfine -N 'grep -R TODO /home/user'109```110111112### Shell functions
226 unmodified lines