diff options
author | Victoria Dye <vdye@github.com> | 2023-11-14 20:53:58 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-11-16 06:03:01 +0100 |
commit | 294bfc24418e81dfb204d14a3c3c24af9b195179 (patch) | |
tree | 7ee7810dd502dc58245579119775e09677f51ba1 /t/t9166-git-svn-fetch-merge-branch-of-branch2.sh | |
parent | ref-filter.c: use peeled tag for '*' format fields (diff) | |
download | git-294bfc24418e81dfb204d14a3c3c24af9b195179.tar.xz git-294bfc24418e81dfb204d14a3c3c24af9b195179.zip |
t/perf: add perf tests for for-each-ref
Add performance tests for 'for-each-ref'. The tests exercise different
combinations of filters/formats/options, as well as the overall performance
of 'git for-each-ref | git cat-file --batch-check' to demonstrate the
performance difference vs. 'git for-each-ref' with "%(*fieldname)" format
specifiers.
All tests are run against a repository with 40k loose refs - 10k commits,
each having a unique:
- branch
- custom ref (refs/custom/special_*)
- annotated tag pointing at the commit
- annotated tag pointing at the other annotated tag (i.e., a nested tag)
After those tests are finished, the refs are packed with 'pack-refs --all'
and the same tests are rerun.
Signed-off-by: Victoria Dye <vdye@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9166-git-svn-fetch-merge-branch-of-branch2.sh')
0 files changed, 0 insertions, 0 deletions