]> git.ipfire.org Git - thirdparty/git.git/commit
fetch: add trace2 instrumentation
authorJosh Steadmon <steadmon@google.com>
Wed, 2 Oct 2019 23:49:28 +0000 (16:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 Oct 2019 01:13:17 +0000 (10:13 +0900)
commit5fc31180d87c5f20c4cdfb89f93daf77c3bd50a1
treecf7704eb78c9050bd42ed40031232c5ff644dfa5
parentbc12974a897308fd3254cf0cc90319078fe45eea
fetch: add trace2 instrumentation

Add trace2 regions to fetch-pack.c and builtins/fetch.c to better track
time spent in the various phases of a fetch:

* listing refs
* negotiation for protocol versions v0-v2
* fetching refs
* consuming refs

Signed-off-by: Josh Steadmon <steadmon@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch.c
fetch-pack.c