785073f658
A simple tool to microbenchmark performance of the hashes. Uses rdtsc for timing, so works only on x86_64. $ make hash-speedtest $ ./hash-speedtest [iterations] Block size: 4096 Iterations: 100000 NULL-NOP: cycles: 56061823, c/i 560 NULL-MEMCPY: cycles: 61296469, c/i 612 CRC32C: cycles: 179961796, c/i 1799 XXHASH: cycles: 138434590, c/i 1384 Signed-off-by: David Sterba <dsterba@suse.com> |
||
---|---|---|
.. | ||
crc32c.c | ||
crc32c.h | ||
hash-speedtest.c | ||
hash.c | ||
hash.h | ||
sha-private.h | ||
sha.h | ||
sha224-256.c | ||
xxhash.c | ||
xxhash.h |