Benchmarks of some Java hash functions. Please note that this benchmark only computes the hash function performance, not its quality. A good slow hash function will always provide better hashtable performance than a bad fast hash function. However, some of the fast functions benchmarked, such as XXHash and Murmur3 are known to be good hash functions (XXHash for instance has a SMHasher score of 10).

The souce code used for this benchmark can be found at