summaryrefslogtreecommitdiff
path: root/lockfile.h
diff options
context:
space:
mode:
authorLibravatar Jeff Hostetler <jeffhost@microsoft.com>2021-02-03 15:34:44 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-02-16 17:14:34 -0800
commit8c4b7503d033d8ba20771a1af8e077a79a18ce49 (patch)
tree84e5f338880cc5ba3cb4d816d1bb7b0333f03561 /lockfile.h
parentp7519: add trace logging during perf test (diff)
downloadtgif-8c4b7503d033d8ba20771a1af8e077a79a18ce49.tar.xz
preload-index: log the number of lstat calls to trace2
Report the total number of calls made to lstat() inside preload_index(). FSMonitor improves the performance of commands like `git status` by avoiding scanning the disk for changed files. This can be seen in `preload_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 'lockfile.h')
0 files changed, 0 insertions, 0 deletions