diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2021-01-04 03:09:11 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-01-04 15:23:08 -0800 |
commit | c338898a47829cf27ebccf5415c308dd59f9d3a6 (patch) | |
tree | 6690edab8ffbb3554d165d5010c54f8c73c28375 /commit.c | |
parent | tree-walk: report recursion counts (diff) | |
download | tgif-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 'commit.c')
0 files changed, 0 insertions, 0 deletions