mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-02 17:11:28 +00:00
Use a file in the no-shell grep example
This commit is contained in:
1 parent
1f5a2ff70c
commit
cdbca1bf1e
1 file changed
+1
-1
@@ -104,7 +104,7 @@ If you want to run a benchmark *without an intermediate shell*, you can use the
|
|||||||
option. This is helpful for very fast commands (< 5 ms) where the shell startup overhead correction would
|
option. This is helpful for very fast commands (< 5 ms) where the shell startup overhead correction would
|
||||||
produce a significant amount of noise. Note that you cannot use shell syntax like `*` or `~` in this case.
|
produce a significant amount of noise. Note that you cannot use shell syntax like `*` or `~` in this case.
|
||||||
```
|
```
|
||||||
hyperfine -N 'grep TODO /home/user'
|
hyperfine -N 'grep TODO /path/to/file'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user