From: Derrick Stolee Date: Mon, 23 Sep 2024 01:50:07 GMT Subject: Re: [PATCH v2 5/6] p5313: add size comparison test Message-ID: <24d266e4-4279-42fa-871e-c843ba6d4f5e@gmail.com> In-Reply-To: On 9/19/24 5:58 PM, Junio C Hamano wrote: > "Derrick Stolee via GitGitGadget" writes: >> t/perf/p5313-pack-objects.sh | 71 ++++++++++++++++++++++++++++++++++++ >> 1 file changed, 71 insertions(+) >> create mode 100755 t/perf/p5313-pack-objects.sh > > "wc -c" -> "test_file_size" or "test-tool path-utils file-size"? Thanks. I was unfamiliar with those options. I will squash this change into the next version. The use of a variable for the packfile name was important at some point while I was testing this with various repos on different platforms. --- >8 --- diff --git a/t/perf/p5313-pack-objects.sh b/t/perf/p5313-pack-objects.sh index 5dcf52acb0..bf6f0d69e4 100755 --- a/t/perf/p5313-pack-objects.sh +++ b/t/perf/p5313-pack-objects.sh @@ -25,7 +25,7 @@ test_perf 'thin pack' ' ' test_size 'thin pack size' ' - wc -c