summaryrefslogtreecommitdiff
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorFriel <friel@openai.com>2026-08-19 16:28:10 -0700
committerJunio C Hamano <gitster@pobox.com>2026-08-20 09:02:52 -0700
commita6c983765fa2005436475eff3aa5b9b5fe5181da (patch)
tree4b36943332a954fb32ff212f58887c619a0c6198 /contrib/persistent-https
parent1a3e64c6c4a623626ff0687008732a8e007e2a1c (diff)
pack-objects: trace pack bytes written
We want to measure how compression settings affect push performance on the client. Different settings can produce different-sized packs from the same objects. Trace2 records the object count, but we also need the pack size to compare those settings. Add a write_pack_file/wrote_bytes Trace2 datum alongside write_pack_file/wrote. Count packs written to stdout or disk, including each pack's header and trailing checksum. When pack.packSizeLimit splits the output, report the sum of the pack sizes. Signed-off-by: Friel <friel@openai.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions