Commit d5c1e3b
pack-objects: add trace2 regions
When studying the performance of 'git push' we would like to know
how much time is spent at various parts of the command. One area
that could cause performance trouble is 'git pack-objects'.
Add trace2 regions around the three main actions taken in this
command:
1. Enumerate objects.
2. Prepare pack.
3. Write pack-file.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>1 parent 36e6b20 commit d5c1e3b
1 file changed
Lines changed: 11 additions & 1 deletion
| 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