Commit 6ec4b59
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 | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
3356 | 3357 | | |
3357 | 3358 | | |
3358 | 3359 | | |
| 3360 | + | |
3359 | 3361 | | |
3360 | 3362 | | |
3361 | 3363 | | |
| |||
3370 | 3372 | | |
3371 | 3373 | | |
3372 | 3374 | | |
| 3375 | + | |
3373 | 3376 | | |
3374 | 3377 | | |
3375 | 3378 | | |
3376 | | - | |
| 3379 | + | |
| 3380 | + | |
3377 | 3381 | | |
| 3382 | + | |
| 3383 | + | |
| 3384 | + | |
| 3385 | + | |
3378 | 3386 | | |
| 3387 | + | |
| 3388 | + | |
3379 | 3389 | | |
3380 | 3390 | | |
3381 | 3391 | | |
| |||
0 commit comments