[PATCH v2 0/2] fetch: add trace2 instrumentation
- From
- erik chen via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Nov 6, 2019, 18:51 UTC
- Message-ID
- <pull.451.v2.git.1573066300.gitgitgadget@gmail.com>
- In-Reply-To
- <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 (2): fetch: add trace2 instrumentation add whitespace
fetch-pack.c | 8 ++++++++ 1 file changed, 8 insertions(+)
base-commit: 566a1439f6f56c2171b8853ddbca0ad3f5098770 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-451%2Ferikchen%2Ftest12-v2 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-451/erikchen/test12-v2 Pull-Request: https://github.com/gitgitgadget/git/pull/451
Range-diff vs v1:
1: 4fdbb9f504 = 1: 4fdbb9f504 fetch: add trace2 instrumentation -: ---------- > 2: 606756d7db add whitespace
-- gitgitgadget