summaryrefslogtreecommitdiff
path: root/t/perf/README
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2017-05-11 09:41:07 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-05-12 01:07:42 (GMT)
commit91de27c54a6ede76b3859bc89f4c387705025f6e (patch)
treed2e0c9cb2f612789c03860bc864650f91ac7398f /t/perf/README
parentb06d3643105c8758ed019125a4399cb7efdcce2c (diff)
downloadgit-91de27c54a6ede76b3859bc89f4c387705025f6e.zip
git-91de27c54a6ede76b3859bc89f4c387705025f6e.tar.gz
git-91de27c54a6ede76b3859bc89f4c387705025f6e.tar.bz2
perf: add function to setup a fresh test repo
Add a function to setup a fresh test repo via 'git init' to compliment the existing functions to copy over a normal & large repo. Some performance tests don't need any existing repository data at all to be significant, e.g. tests which stress glob matches against single pathological revisions or files, which I'm about to add in a subsequent commit. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/perf/README')
-rw-r--r--t/perf/README1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/perf/README b/t/perf/README
index 49ea434..de2fe15 100644
--- a/t/perf/README
+++ b/t/perf/README
@@ -106,6 +106,7 @@ sources perf-lib.sh:
After that you will want to use some of the following:
+ test_perf_fresh_repo # sets up an empty repository
test_perf_default_repo # sets up a "normal" repository
test_perf_large_repo # sets up a "large" repository