summaryrefslogtreecommitdiff
path: root/t/perf
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-08-29 21:55:13 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-08-29 21:55:13 (GMT)
commit25402204fe00004b6acc1a7ca88b990ccd0e5d52 (patch)
tree70bb0d71f919dc9bdba72f74f8f0fd27c4235af9 /t/perf
parentb014a4416a9eef145d359d41771f1ebe030a1fbb (diff)
parent77b9e85c0f1c2ca42bff8f8ccdf2a68b3c942837 (diff)
downloadgit-25402204fe00004b6acc1a7ca88b990ccd0e5d52.zip
git-25402204fe00004b6acc1a7ca88b990ccd0e5d52.tar.gz
git-25402204fe00004b6acc1a7ca88b990ccd0e5d52.tar.bz2
Merge branch 'vd/fix-perf-tests'
Rather trivial perf-test code fixes. * vd/fix-perf-tests: p0006: fix 'read-tree' argument ordering p0004: fix prereq declaration
Diffstat (limited to 't/perf')
-rwxr-xr-xt/perf/p0004-lazy-init-name-hash.sh2
-rwxr-xr-xt/perf/p0006-read-tree-checkout.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/t/perf/p0004-lazy-init-name-hash.sh b/t/perf/p0004-lazy-init-name-hash.sh
index 1afc08f..85be14e 100755
--- a/t/perf/p0004-lazy-init-name-hash.sh
+++ b/t/perf/p0004-lazy-init-name-hash.sh
@@ -49,7 +49,7 @@ test_perf "single-threaded, $desc" "
test-tool lazy-init-name-hash --single --count=$count
"
-test_perf REPO_BIG_ENOUGH_FOR_MULTI "multi-threaded, $desc" "
+test_perf "multi-threaded, $desc" --prereq REPO_BIG_ENOUGH_FOR_MULTI "
test-tool lazy-init-name-hash --multi --count=$count
"
diff --git a/t/perf/p0006-read-tree-checkout.sh b/t/perf/p0006-read-tree-checkout.sh
index 900b385..c481c01 100755
--- a/t/perf/p0006-read-tree-checkout.sh
+++ b/t/perf/p0006-read-tree-checkout.sh
@@ -46,7 +46,7 @@ test_expect_success "setup repo" '
'
test_perf "read-tree br_base br_ballast ($nr_files)" '
- git read-tree -m br_base br_ballast -n
+ git read-tree -n -m br_base br_ballast
'
test_perf "switch between br_base br_ballast ($nr_files)" '