summaryrefslogtreecommitdiff
path: root/t/perf/p5600-partial-clone.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-04-30 04:50:24 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-04-30 04:50:24 (GMT)
commit13158b9910f8de4a88b39420be80f03c681b3ec9 (patch)
tree606be7ce14f379439bdb5341eced6b1a85def26c /t/perf/p5600-partial-clone.sh
parent311531c9de557d25ac087c1637818bd2aad6eb3a (diff)
parentc1fa951d7ea9e943f001ac7c7502995273db5776 (diff)
downloadgit-13158b9910f8de4a88b39420be80f03c681b3ec9.zip
git-13158b9910f8de4a88b39420be80f03c681b3ec9.tar.gz
git-13158b9910f8de4a88b39420be80f03c681b3ec9.tar.bz2
Merge branch 'jk/promisor-optim'
Handling of "promisor packs" that allows certain objects to be missing and lazily retrievable has been optimized (a bit). * jk/promisor-optim: revision: avoid parsing with --exclude-promisor-objects lookup_unknown_object(): take a repository argument is_promisor_object(): free tree buffer after parsing
Diffstat (limited to 't/perf/p5600-partial-clone.sh')
-rwxr-xr-xt/perf/p5600-partial-clone.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/t/perf/p5600-partial-clone.sh b/t/perf/p5600-partial-clone.sh
index 3e04bd2..ca785a3 100755
--- a/t/perf/p5600-partial-clone.sh
+++ b/t/perf/p5600-partial-clone.sh
@@ -23,4 +23,16 @@ test_perf 'checkout of result' '
git -C worktree checkout -f
'
+test_perf 'fsck' '
+ git -C bare.git fsck
+'
+
+test_perf 'count commits' '
+ git -C bare.git rev-list --all --count
+'
+
+test_perf 'count non-promisor commits' '
+ git -C bare.git rev-list --all --count --exclude-promisor-objects
+'
+
test_done