Re: [PATCH 4/4] t/perf: add fsmonitor perf test for git diff
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 17, 2020, 22:28 UTC
- Message-ID
- <xmqqa6wk8p3i.fsf@gitster.c.googlers.com>
- In-Reply-To
- <0613b07676e8abd0b4f342784b94d11174981537.1602968677.git.gitgitgadget@gmail.com>
"Nipunn Koorapati via GitGitGadget" <gitgitgadget@gmail.com> writes:
> +test_perf "diff (fsmonitor=$INTEGRATION_SCRIPT)" ' > + git diff
This is a whole-tree diff. It would be interesting to also see if a meaningful tradeoff exists if a test is run with a tree with say 100 top-level subdirectories but with just one of them covered by a pathspec, with many modified paths sprinkled all over.
Show 5 quoted lines
> +' > + > if test_have_prereq WATCHMAN > then > watchman watch-del "$GIT_WORK_TREE" >/dev/null 2>&1 &&