push: add trace2 instrumentation
authorJosh Steadmon <steadmon@google.com>
Wed, 2 Oct 2019 23:49:29 +0000 (16:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 Oct 2019 01:13:18 +0000 (10:13 +0900)
commit25e4b8099c0ed4c2b4eeb3c8a7edce3785d9aeab
tree922126cac3ca8f317041e6a0984199a1f12161ec
parent5fc31180d87c5f20c4cdfb89f93daf77c3bd50a1
push: add trace2 instrumentation

Add trace2 regions in transport.c and builtin/push.c to better track
time spent in various phases of pushing:

* Listing refs
* Checking submodules
* Pushing submodules
* Pushing refs

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