p2000: compress repo names

By using shorter names for the test repos, we will get a slightly more compressed performance summary without comprimising clarity. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Derrick Stolee committed Jun 29, 2021 at 02:13 UTC 11042ab9142bab44db75ba9ececf836053fdb92a
1 file changed +10 -10
t/perf/p2000-sparse-operations.sh
+10 -10
@@ -52,36 +52,36 @@ test_expect_success 'setup repo and indexes' '
52 git commit -a -m "edit $SPARSE_CONE/$l2/a" || return 1
53 done &&
54
55 - git -c core.sparseCheckoutCone=true clone --branch=wide --sparse . full-index-v3 &&
55 + git -c core.sparseCheckoutCone=true clone --branch=wide --sparse . full-v3 &&
56 (
57 - cd full-index-v3 &&
57 + cd full-v3 &&
58 git sparse-checkout init --cone &&
59 git sparse-checkout set $SPARSE_CONE &&
60 git config index.version 3 &&
61 git update-index --index-version=3 &&
62 git checkout HEAD~4
63 ) &&
64 - git -c core.sparseCheckoutCone=true clone --branch=wide --sparse . full-index-v4 &&
64 + git -c core.sparseCheckoutCone=true clone --branch=wide --sparse . full-v4 &&
65 (
66 - cd full-index-v4 &&
66 + cd full-v4 &&
67 git sparse-checkout init --cone &&
68 git sparse-checkout set $SPARSE_CONE &&
69 git config index.version 4 &&
70 git update-index --index-version=4 &&
71 git checkout HEAD~4
72 ) &&
73 - git -c core.sparseCheckoutCone=true clone --branch=wide --sparse . sparse-index-v3 &&
73 + git -c core.sparseCheckoutCone=true clone --branch=wide --sparse . sparse-v3 &&
74 (
75 - cd sparse-index-v3 &&
75 + cd sparse-v3 &&
76 git sparse-checkout init --cone --sparse-index &&
77 git sparse-checkout set $SPARSE_CONE &&
78 git config index.version 3 &&
79 git update-index --index-version=3 &&
80 git checkout HEAD~4
81 ) &&
82 - git -c core.sparseCheckoutCone=true clone --branch=wide --sparse . sparse-index-v4 &&
82 + git -c core.sparseCheckoutCone=true clone --branch=wide --sparse . sparse-v4 &&
83 (
84 - cd sparse-index-v4 &&
84 + cd sparse-v4 &&
85 git sparse-checkout init --cone --sparse-index &&
86 git sparse-checkout set $SPARSE_CONE &&
87 git config index.version 4 &&
@@ -92,8 +92,8 @@ test_expect_success 'setup repo and indexes' '
92
93 test_perf_on_all () {
94 command="$@"
95 - for repo in full-index-v3 full-index-v4 \
96 - sparse-index-v3 sparse-index-v4
95 + for repo in full-v3 full-v4 \
96 + sparse-v3 sparse-v4
97 do
98 test_perf "$command ($repo)" "
99 (