t/helper: add a test helper to compute hash speed
commit37649b7f809f14b78d178c32e4d8333243f1f74e
authorbrian m. carlson <sandals@crustytoothpaste.net>
Wed, 14 Nov 2018 04:09:34 +0000 (14 04:09 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Nov 2018 07:54:52 +0000 (14 16:54 +0900)
treeddb1b37d415ddeb110692d936349c020e2d1ec3e
parenta2ce0a752600a44979da94b19aa1b367c6850bd7
t/helper: add a test helper to compute hash speed

Add a utility (which is less for the testsuite and more for developers)
that can compute hash speeds for whatever hash algorithms are
implemented.  This allows developers to test their personal systems to
determine the performance characteristics of various algorithms.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
t/helper/test-hash-speed.c [new file with mode: 0644]
t/helper/test-tool.c
t/helper/test-tool.h