github.com/jbendotnet/noms@v0.0.0-20190904222105-c43e4293ea92/go/perf/hash-perf-rig/README.md (about) 1 This is a performance test rig for the two main types of hashing we do in NOMS - buzhash and sha1. There's also support for sha256, sha512, and blake2b hash functions for comparison. 2 3 As of May 9, these are the numbers I get on a macbook pro 3.1 GHz Intel Core i7. 4 5 - no hashing : 3500 MB/s 6 - sha1 only : 470 MB/s 7 - sha256 only : 185 MB/s 8 - sha512 only : 299 MB/s 9 - blake2b only : 604 MB/s 10 - bh only : 139 MB/s 11 - sha1 and bh : 110 MB/s 12 - sha256 and bh : 80 MB/s 13 - sha512 and bh : 96 MB/s 14 - blake2b and bh: 115 MB/s 15 16 I think that in the no hashing case there is some compiler optimization going 17 on because I note that if all I do is add a loop that reads out bytes one by 18 one from the slice, it drops to 1000MB/s. 19 20 One outcome of this is that there's no sense going to sha256 - we should just 21 jump straight to sha512.