Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
oguz-ismail
1y ago
0 comments
Share
It spawns a new
shell
for each run and subtracts the average shell startup time from final results. Too much noise
0 comments
default
newest
oldest
PhilipRoman
1y ago
The shell can be disabled, leaving just fork+exec
sharkdp
1y ago
Yes. If you don't make use of shell builtins/syntax, you can use hyperfine's `--shell=none`/`-N` option to disable the intermediate shell.
oguz-ismail
OP
1y ago
You still need to quote the command though. `hyperfine -N ls "$dir"' won't work, you need `hyperfine -N "ls ${dir@Q}"' or something. It'd be better if you could specify commands like with `find -exec'.
1 more reply
j
/
k
navigate · click thread line to collapse