summaryrefslogtreecommitdiff
path: root/t/perf/Makefile
diff options
context:
space:
mode:
authorJeff Hostetler <jeffhost@microsoft.com>2021-02-03 15:34:43 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-02-17 01:14:34 (GMT)
commit4f2009dce2d270ded8bb94417becf6cc2143c70c (patch)
tree1ca725a66929a65e8bc2a0d98be514f89faa0853 /t/perf/Makefile
parenta7556c3bde48b9266f11794a20d12719269becd3 (diff)
downloadgit-4f2009dce2d270ded8bb94417becf6cc2143c70c.zip
git-4f2009dce2d270ded8bb94417becf6cc2143c70c.tar.gz
git-4f2009dce2d270ded8bb94417becf6cc2143c70c.tar.bz2
p7519: add trace logging during perf test
Add optional trace logging to allow us to better compare performance of various fsmonitor providers and compare results with non-fsmonitor runs. Currently, this includes Trace2 logging, but may be extended to include other trace targets, such as GIT_TRACE_FSMONITOR if desired. Using this logging helped me explain an odd behavior on MacOS where the kernel was dropping events and causing the hook to Watchman to timeout. 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 't/perf/Makefile')
-rw-r--r--t/perf/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/perf/Makefile b/t/perf/Makefile
index fcb0e88..2465770 100644
--- a/t/perf/Makefile
+++ b/t/perf/Makefile
@@ -7,10 +7,10 @@ perf: pre-clean
./run
pre-clean:
- rm -rf test-results
+ rm -rf test-results test-trace
clean:
- rm -rf build "trash directory".* test-results
+ rm -rf build "trash directory".* test-results test-trace
test-lint:
$(MAKE) -C .. test-lint