summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorKristofer Karlsson <krka@spotify.com>2026-08-11 09:28:47 +0000
committerJunio C Hamano <gitster@pobox.com>2026-08-11 07:34:32 -0700
commit6300d71cd63e32fafe3b427d8547b5e0c75f827c (patch)
tree9b5a4dbb1c5ac1fb485ee78af0b93b9205bce3f0 /t/t4013/diff.diff_initial..side
parent259a45f1f847a4f0a39d6a6dd6ad3ae4f7fd6ee7 (diff)
commit-reach: add trace2 instrumentation to paint_down_to_common()
Add a step counter and trace2_data_intmax() call so that the number of commits visited during the paint walk is observable via GIT_TRACE2_EVENT. This provides a way to measure the impact of future optimizations without relying on wall-clock benchmarks alone. Some step counts already vary across commit-graph modes (e.g. in_merge_bases_many:self) because the pre-existing min_generation optimization short-circuits the walk when generation data is available. Signed-off-by: Kristofer Karlsson <krka@spotify.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions