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@xxxxxxxxxxxx [erikchen@xxxxxxxxxxxx] 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