diff options
author | Jeff Hostetler <jeffhost@microsoft.com> | 2021-02-03 15:34:45 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-16 17:14:34 -0800 |
commit | a98e0f2d317818bfcb7f3c9cf53dfad2334e8ca7 (patch) | |
tree | a66ef992eb272cec6e024314a88cc7e986e6744b /pack-bitmap.h | |
parent | preload-index: log the number of lstat calls to trace2 (diff) | |
download | tgif-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 'pack-bitmap.h')
0 files changed, 0 insertions, 0 deletions