diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-08-30 00:55:13 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-08-30 00:55:13 +0300 |
commit | 25402204fe00004b6acc1a7ca88b990ccd0e5d52 (patch) | |
tree | 70bb0d71f919dc9bdba72f74f8f0fd27c4235af9 /t/perf | |
parent | b014a4416a9eef145d359d41771f1ebe030a1fbb (diff) | |
parent | 77b9e85c0f1c2ca42bff8f8ccdf2a68b3c942837 (diff) |
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-x | t/perf/p0004-lazy-init-name-hash.sh | 2 | ||||
-rwxr-xr-x | t/perf/p0006-read-tree-checkout.sh | 2 |
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 1afc08fe7f..85be14e4dd 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 900b385c4b..c481c012d2 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)" ' |