summaryrefslogtreecommitdiff
path: root/contrib/hooks
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2021-01-04 03:09:14 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-01-15 23:04:32 -0800
commit0e5c95026752f0aa62e072bcb9e0a4fb93fd482e (patch)
treeaf02861c879c76a713e4b117ee6cbb3c7283975d /contrib/hooks
parentcache-tree: trace regions for I/O (diff)
downloadtgif-0e5c95026752f0aa62e072bcb9e0a4fb93fd482e.tar.xz
cache-tree: trace regions for prime_cache_tree
Commands such as "git reset --hard" rebuild the in-memory representation of the cache tree index extension by parsing tree objects starting at a known root tree. The performance of this operation can vary widely depending on the width and depth of the repository's working directory structure. Measure the time in this operation using trace2 regions in prime_cache_tree(). Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/hooks')
0 files changed, 0 insertions, 0 deletions