summaryrefslogtreecommitdiff
path: root/cache-tree.c
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2021-01-04 03:09:11 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-01-04 15:23:08 -0800
commitc338898a47829cf27ebccf5415c308dd59f9d3a6 (patch)
tree6690edab8ffbb3554d165d5010c54f8c73c28375 /cache-tree.c
parenttree-walk: report recursion counts (diff)
downloadtgif-c338898a47829cf27ebccf5415c308dd59f9d3a6.tar.xz
unpack-trees: add trace2 regions
The unpack_trees() method is quite complicated and its performance can change dramatically depending on how it is used. We already have some performance tracing regions, but they have not been updated to the trace2 API. Do so now. We already have trace2 regions in unpack_trees.c:clear_ce_flags(), which uses a linear scan through the index without recursing into trees. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache-tree.c')
0 files changed, 0 insertions, 0 deletions