Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> $ 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.



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: