Hot Path
While the timeline shows a flame graph plotting activity depth against wall clock time, the Hot Path view shows a flame chart plotting activity depth against aggregated time contribution. It groups equal stacks together summing their contributions. It then also sorts larger contributors to the left. Using this approach you will see the stacks that have the largest contributions to total time spent on the left. Here’s a screenshot of a Hot Path populated from the example’s Low Frequency Channel:
Timespan Selector
Note
The Hot Path’s time span is synchronized with the Timeline view. If you’ve found an area of interest in the timeline, zoom in on it as much as you can and then switch to the Hot Path and it’ll only aggregate that area.
Flame Chart
Selection
You can select stacks by clicking on an activity, this selects that activity and parents until it gets to the bottom one. In our example above we’ve slelected the activity called “Stack 2”.
Stack
On the left side of the selection panel we can see each parent having it’s most immediate parent on the top and it’s farthest grandparent on the bottom. This table contains a couple of columns with information:
% Of Total: This column tells you how much the selected stack level contributes to the total amount of time visible in the Hot Path.
% By Children: Out of the time spent in this activity (called with this stack’s hierarchy), how much of it was actually spent in child activities.
% By Self: The inverse of the % By Children. So, how much of the time spent is actually spent in this activity itself.
You will notice that there is also a colored background behind the last two columns. This bar shifts left when more time is spent in children and right when more time is spent in that activity itself. This bar provides you with hints on where you should investigate performance issues. Pay special attention to outliers. Usually the % By Self increases the higher you go in the stack. If you see an activity near the bottom of the stack with high self time, it could be interesting to investigate that activity directly instead of it’s children.
Children
The right side of the selection panel shows you a summary of children called by the topmost selected activity. In your example we’ve selected the activity called “Stack 2” and a large portion of it’s time is spent in “Stack 3”. The remainder of the time not listed as children is spent by the selected activity itself.