Skip to content

Commit

Permalink
Merge branch 'tb/use-test-file-size-more' into next
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gitster committed Nov 25, 2024
2 parents f312b2f + 3f97f1b commit 2bdd016
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion t/perf/p5311-pack-bitmaps-fetch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ test_fetch_bitmaps () {
'

test_size "size $title" '
wc -c <tmp.pack
test_file_size tmp.pack
'

test_perf "client $title (lookup=$1)" '
Expand Down
2 changes: 1 addition & 1 deletion t/perf/p5332-multi-pack-reuse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ do
"

test_size "clone size for $nr_packs-pack scenario ($reuse-pack reuse)" '
wc -c <result
test_file_size result
'
done
done
Expand Down

0 comments on commit 2bdd016

Please sign in to comment.