Another benchmark:
time openssl sha256 /tmp/bigfile
real 0m28.160s
user 0m27.750s
sys 0m0.272s
time shasum -a 256 /tmp/bigfile real 0m6.146s
user 0m5.407s
sys 0m0.560s
time b2sum /tmp/bigfile real 0m1.732s
user 0m1.450s
sys 0m0.244s
time b3sum /tmp/bigfile real 0m0.212s
user 0m0.996s
sys 0m0.379s
TIL OpenSSL sha256 invocation is really slow compared to the shasum program. Also BLAKE3 is really fast.Edit: bigfile is 1GB of /dev/random