In case you're just wondering which is actually the fastest hash algorithm when using Python 3.10/Ubuntu 22.04, I ended up benchmarking a few today.
On my Linux box (Zen 4), SHA1 is at least twice as fast as the competition (SHA3, MD5, Blake2d), I presume due to OpenSSL using HW intrinsics for it. Hash speed is ~3 GiB/sec (single core.)