Skip to content

Commit e5b7157

Browse files
committed
Merge branch 'tb/use-test-file-size-more'
Use the right helper program to measure file size in performance tests. * tb/use-test-file-size-more: t/perf: use 'test_file_size' in more places
2 parents 0a0712e + 3f97f1b commit e5b7157

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

t/perf/p5311-pack-bitmaps-fetch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ test_fetch_bitmaps () {
3939
'
4040

4141
test_size "size $title" '
42-
wc -c <tmp.pack
42+
test_file_size tmp.pack
4343
'
4444

4545
test_perf "client $title (lookup=$1)" '

t/perf/p5332-multi-pack-reuse.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ do
7373
"
7474

7575
test_size "clone size for $nr_packs-pack scenario ($reuse-pack reuse)" '
76-
wc -c <result
76+
test_file_size result
7777
'
7878
done
7979
done

0 commit comments

Comments
 (0)