Commit c338898
unpack-trees: add trace2 regions
The unpack_trees() method is quite complicated and its performance can
change dramatically depending on how it is used. We already have some
performance tracing regions, but they have not been updated to the
trace2 API. Do so now.
We already have trace2 regions in unpack_trees.c:clear_ce_flags(), which
uses a linear scan through the index without recursing into trees.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent da8be8c commit c338898
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1580 | 1580 | | |
1581 | 1581 | | |
1582 | 1582 | | |
| 1583 | + | |
| 1584 | + | |
1583 | 1585 | | |
1584 | 1586 | | |
1585 | 1587 | | |
| |||
1653 | 1655 | | |
1654 | 1656 | | |
1655 | 1657 | | |
| 1658 | + | |
1656 | 1659 | | |
| 1660 | + | |
1657 | 1661 | | |
1658 | 1662 | | |
1659 | 1663 | | |
| |||
1741 | 1745 | | |
1742 | 1746 | | |
1743 | 1747 | | |
| 1748 | + | |
1744 | 1749 | | |
1745 | 1750 | | |
1746 | 1751 | | |
| |||
0 commit comments