summaryrefslogtreecommitdiff
path: root/graph.c
diff options
context:
space:
mode:
authorLibravatar Jeff Hostetler <jeffhost@microsoft.com>2021-02-03 15:34:45 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-02-16 17:14:34 -0800
commita98e0f2d317818bfcb7f3c9cf53dfad2334e8ca7 (patch)
treea66ef992eb272cec6e024314a88cc7e986e6744b /graph.c
parentpreload-index: log the number of lstat calls to trace2 (diff)
downloadtgif-a98e0f2d317818bfcb7f3c9cf53dfad2334e8ca7.tar.xz
read-cache: log the number of lstat calls to trace2
Report the total number of calls made to lstat() inside of refresh_index(). FSMonitor improves the performance of commands like `git status` by avoiding scanning the disk for changed files. This can be seen in `refresh_index()`. Let's measure this. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Reviewed-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'graph.c')
0 files changed, 0 insertions, 0 deletions