In the Performance Call Graph view, you can focus on data that
indicates potential performance problems. This view displays not only an overview
of the performance data collected for a profiling run, but also detailed statistical
information for methods and calling path segments.
To find potentially significant data, use any of the following approaches:
- Orient yourself in the call graph.
- Click the Show Call Graph button
to display the call graph overview
for navigating in large or complex call graphs.
- Use the Zoom slider to adjust the size and scope
of the call graph.
- With the mouse cursor on the call graph, hold down the left mouse button
so that the cursor is displayed as a hand, and drag the cursor left, right,
up, or down.
- Highlight methods that are related, or that share important characteristics,
by using the Highlight list. For
example, you can highlight all methods that are the immediate parents of the
selected method. For distributed programs, select Distributed Calls from
the list. For more information, see Data commands in the Performance Call Graph and Method Details views
- Search for individual methods by name by clicking the Find
method in Call Graph button
.
- Focus on a specific portion of a program by right-clicking a node
and then clicking . Note that you can undo any
subtree command by clicking , or undo all subtree operations
by clicking .
- Investigate "what-if" scenarios to gauge the impact of proposed
code changes:
- Delete an entire node, and subtract its performance data from the data
set. Right-click a node, then click. The performance statistics
now show how the application would perform without the calls to the deleted
subtree.
- Alternatively, delete individual methods, or entire classes or packages,
from the data set. Right-click a method, or a representative of a class or
package, and click Filter followed by the appropriate Delete command.
- Simplify the call graph display:
- Hide nodes that do not interest you, without deleting their performance
data. Right-click a node, then click . The node and all its descendants
are removed from the display, but the times for the subtree nodes are still
included in the statistics for the parent node.
- Hide uninteresting methods, classes, or packages. Right-click a method,
or a representative of a class or package, and then click Filter
> followed by the appropriate Hide command.
- Adjust the level of detail displayed for a node. Right-click a
node, and use the commands included in Expand/Collapse menu. Note that you can undo any subtree command by clicking , or undo all expand/collapse, filter,
and subtree operations by clicking .