Commit 942b274
trace2:data: add trace2 regions to wt-status
Add trace2_region_enter() and trace2_region_leave() calls around the
various phases of a status scan. This gives elapsed time for each
phase in the GIT_TR2_PERF and GIT_TR2_EVENT trace target.
Also, these Trace2 calls now use s->repo rather than the_repository.
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 353d3d7 commit 942b274
1 file changed
+22
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
748 | 748 | | |
749 | 749 | | |
750 | 750 | | |
| 751 | + | |
751 | 752 | | |
752 | | - | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
753 | 757 | | |
754 | | - | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
755 | 761 | | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
756 | 766 | | |
| 767 | + | |
757 | 768 | | |
758 | 769 | | |
759 | 770 | | |
| |||
2291 | 2302 | | |
2292 | 2303 | | |
2293 | 2304 | | |
| 2305 | + | |
| 2306 | + | |
| 2307 | + | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
2294 | 2312 | | |
2295 | 2313 | | |
2296 | 2314 | | |
| |||
2309 | 2327 | | |
2310 | 2328 | | |
2311 | 2329 | | |
| 2330 | + | |
| 2331 | + | |
2312 | 2332 | | |
2313 | 2333 | | |
2314 | 2334 | | |
| |||
0 commit comments