Commit 328220f
Merge pull request #34 Add Trace2 regions to 'pack-objects'
We want to make `git push` faster, but we need to know where the time is going!
There are likely four places where the time is going:
1. The info/refs call and force-update checking at the beginning.
2. The `git pack-objects` call that creates a pack-file to send to the server.
3. Sending the data to the server.
4. Waiting for the server to verify the pack-file.
This PR adds `trace2_region_` calls inside `git pack-objects` so we can track the time in item (2). The rest could be interpreted from the start and end time of the entire command after we know this region. The server-side verification is something we can track using server telemetry.1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
3470 | 3471 | | |
3471 | 3472 | | |
3472 | 3473 | | |
| 3474 | + | |
3473 | 3475 | | |
3474 | 3476 | | |
3475 | 3477 | | |
| |||
3484 | 3486 | | |
3485 | 3487 | | |
3486 | 3488 | | |
| 3489 | + | |
3487 | 3490 | | |
3488 | 3491 | | |
3489 | 3492 | | |
3490 | | - | |
| 3493 | + | |
| 3494 | + | |
3491 | 3495 | | |
| 3496 | + | |
| 3497 | + | |
| 3498 | + | |
| 3499 | + | |
3492 | 3500 | | |
| 3501 | + | |
| 3502 | + | |
3493 | 3503 | | |
3494 | 3504 | | |
3495 | 3505 | | |
| |||
0 commit comments