perf: add function to setup a fresh test repo
commit91de27c54a6ede76b3859bc89f4c387705025f6e
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 11 May 2017 09:41:07 +0000 (11 09:41 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 May 2017 01:07:42 +0000 (12 10:07 +0900)
treed2e0c9cb2f612789c03860bc864650f91ac7398f
parentb06d3643105c8758ed019125a4399cb7efdcce2c
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>
t/perf/README
t/perf/perf-lib.sh