pack-bitmap-write.c: instrument number of reused bitmaps
commite9c383994493f3b775191aed13811a868aa639da
authorTaylor Blau <me@ttaylorr.com>
Wed, 12 Oct 2022 22:01:57 +0000 (12 18:01 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Oct 2022 20:35:08 +0000 (13 13:35 -0700)
tree4e36361d560b20853703381c5001250d09993d66
parent2dcff52524e611413cb0cb49015f0d105f5f8dfa
pack-bitmap-write.c: instrument number of reused bitmaps

When debugging bitmap generation performance, it is useful to know how
many bitmaps were generated from scratch, and how many were the result
of permuting the bit-order of an existing bitmap.

Keep track of the latter, and emit the count as a trace2_data line to
aid in debugging.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pack-bitmap-write.c