diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-03-24 14:36:27 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-03-24 14:36:27 -0700 |
commit | 858119f6d78d13050d446b5d56445ad1e5432082 (patch) | |
tree | 6fa2b179520a0797e0e5099aea28ebeb5d51602c /t/perf | |
parent | Merge branch 'jk/fail-prereq-testfix' (diff) | |
parent | fsmonitor: add perf test for git diff HEAD (diff) | |
download | tgif-858119f6d78d13050d446b5d56445ad1e5432082.tar.xz |
Merge branch 'nk/diff-index-fsmonitor'
"git diff-index" codepath has been taught to trust fsmonitor status
to reduce number of lstat() calls.
* nk/diff-index-fsmonitor:
fsmonitor: add perf test for git diff HEAD
fsmonitor: add assertion that fsmonitor is valid to check_removed
fsmonitor: skip lstat deletion check during git diff-index
Diffstat (limited to 't/perf')
-rwxr-xr-x | t/perf/p7519-fsmonitor.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/perf/p7519-fsmonitor.sh b/t/perf/p7519-fsmonitor.sh index b657564aed..5eb5044a10 100755 --- a/t/perf/p7519-fsmonitor.sh +++ b/t/perf/p7519-fsmonitor.sh @@ -216,6 +216,10 @@ test_fsmonitor_suite() { git diff ' + test_perf_w_drop_caches "diff HEAD ($DESC)" ' + git diff HEAD + ' + test_perf_w_drop_caches "diff -- 0_files ($DESC)" ' git diff -- 1_file ' |