summaryrefslogtreecommitdiff
path: root/t/helper/test-tool.h
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2018-11-14 04:09:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-11-14 07:54:52 (GMT)
commit37649b7f809f14b78d178c32e4d8333243f1f74e (patch)
treeddb1b37d415ddeb110692d936349c020e2d1ec3e /t/helper/test-tool.h
parenta2ce0a752600a44979da94b19aa1b367c6850bd7 (diff)
downloadgit-37649b7f809f14b78d178c32e4d8333243f1f74e.zip
git-37649b7f809f14b78d178c32e4d8333243f1f74e.tar.gz
git-37649b7f809f14b78d178c32e4d8333243f1f74e.tar.bz2
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>
Diffstat (limited to 't/helper/test-tool.h')
-rw-r--r--t/helper/test-tool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/helper/test-tool.h b/t/helper/test-tool.h
index 29ac7b0..19a7e83 100644
--- a/t/helper/test-tool.h
+++ b/t/helper/test-tool.h
@@ -16,6 +16,7 @@ int cmd__dump_untracked_cache(int argc, const char **argv);
int cmd__example_decorate(int argc, const char **argv);
int cmd__genrandom(int argc, const char **argv);
int cmd__hashmap(int argc, const char **argv);
+int cmd__hash_speed(int argc, const char **argv);
int cmd__index_version(int argc, const char **argv);
int cmd__json_writer(int argc, const char **argv);
int cmd__lazy_init_name_hash(int argc, const char **argv);