summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2013-06-09 17:39:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-06-10 00:03:00 (GMT)
commit1ecb5ff141f6e54727c746446b52af51016e662c (patch)
treee2b77c617509a40cc37941d3a3bbb8821b65aba1 /Makefile
parentedca4152560522a431a51fc0a06147fc680b5b18 (diff)
downloadgit-1ecb5ff141f6e54727c746446b52af51016e662c.zip
git-1ecb5ff141f6e54727c746446b52af51016e662c.tar.gz
git-1ecb5ff141f6e54727c746446b52af51016e662c.tar.bz2
read-cache: add simple performance test
Add the helper test-read-cache, which can be used to call read_cache and discard_cache in a loop as well as a performance check based on it. Signed-off-by: René Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0f931a2..b0ee164 100644
--- a/Makefile
+++ b/Makefile
@@ -558,6 +558,7 @@ TEST_PROGRAMS_NEED_X += test-mergesort
TEST_PROGRAMS_NEED_X += test-mktemp
TEST_PROGRAMS_NEED_X += test-parse-options
TEST_PROGRAMS_NEED_X += test-path-utils
+TEST_PROGRAMS_NEED_X += test-read-cache
TEST_PROGRAMS_NEED_X += test-regex
TEST_PROGRAMS_NEED_X += test-revision-walking
TEST_PROGRAMS_NEED_X += test-run-command