[PATCH 0/1] fetch: add trace2 instrumentation
- From
- erik chen via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Nov 5, 2019, 19:26 UTC
- Message-ID
- <pull.451.git.1572981981.gitgitgadget@gmail.com>
Add trace2 regions to fetch-pack.c to better track time spent in the various phases of a fetch:
* matching common remote and local refs * marking local refs as complete (part of the matching process)
Both of these stages can be slow for repositories with many refs.
Signed-off-by: Erik Chen erikchen@chromium.org [erikchen@chromium.org]
Erik Chen (1): fetch: add trace2 instrumentation
fetch-pack.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
base-commit: 566a1439f6f56c2171b8853ddbca0ad3f5098770 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-451%2Ferikchen%2Ftest12-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-451/erikchen/test12-v1 Pull-Request: https://github.com/gitgitgadget/git/pull/451
-- gitgitgadget