Skip to content

Commit 2540220

Browse files
committed
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
2 parents b014a44 + 77b9e85 commit 2540220

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

t/perf/p0004-lazy-init-name-hash.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ test_perf "single-threaded, $desc" "
4949
test-tool lazy-init-name-hash --single --count=$count
5050
"
5151

52-
test_perf REPO_BIG_ENOUGH_FOR_MULTI "multi-threaded, $desc" "
52+
test_perf "multi-threaded, $desc" --prereq REPO_BIG_ENOUGH_FOR_MULTI "
5353
test-tool lazy-init-name-hash --multi --count=$count
5454
"
5555

t/perf/p0006-read-tree-checkout.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ test_expect_success "setup repo" '
4646
'
4747

4848
test_perf "read-tree br_base br_ballast ($nr_files)" '
49-
git read-tree -m br_base br_ballast -n
49+
git read-tree -n -m br_base br_ballast
5050
'
5151

5252
test_perf "switch between br_base br_ballast ($nr_files)" '

0 commit comments

Comments
 (0)