top | item 42182044

(no title)

sharkdp | 1 year 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.

discuss

order

oguz-ismail|1 year 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'.

PhilipRoman|1 year ago

Oh that sucks, I really hate when programs impose useless shell parsing instead of letting the user give an argument vector natively.