6 ms·
> $ hyperfine --warmup 3 'bash -c "echo hello"' 'sh -c "echo hello"' -N Small nitpick but on Arch, /bin/sh is a symlink to bash so it's measuring the same thin
by natrys 3y ago
> $ hyperfine --warmup 3 'bash -c "echo hello"' 'sh -c "echo hello"' -N
Small nitpick but on Arch, /bin/sh is a symlink to bash so it's measuring the same thing.
On many systems like Debian, /bin/sh is dash instead (though default interactive shell remains bash) which is actually a few times faster, for start up and in general.