ANTS Performance Profiler - 7.3

ANTS Performance Profiler

Tips on using the call tree - ANTS Performance Profiler

To locate methods that may be good candidates for optimization:

  1. Order the call tree with the slowest stack traces at the top (top-down). If necessary, click the Time With Children column heading to change the stack-trace order.
  2. Starting with the slowest stack traces, look for method pairs where subsequent values for Time With Children reduce substantially as you move down the stack trace. Methods with higher values in such pairs may be good candidates for optimization.

    ANTS Performance Profiler can optionally suggest methods that may be good candidates for optimization. To show suggested methods, on the Tools menu, click Suggest methods to optimize. Suggested method names are marked with an asterisk (*).

    In general, the better you understand the structure and meaning of your code, the more easily you will be able to interpret the data collected by the profiler.

To reduce the number of methods shown, you can do any of the following:

  • Choose a "(methods with source)" option from the Direction and scope list in the display options.

    APP_calltreedisplayoptions_tips

  • Select the Hide insignificant methods check box in the display options.
  • Select a shorter region on the timeline.

To find a particular method:

  1. On the Tools menu, click Find.

    The Find bar is displayed beneath the call tree.

  2. Type all or part of the method name you are looking for, and press ENTER.

    The first matching row in the call tree is highlighted.

Click previousarrow Previous or nextarrow Next to move between matching method names.

Waiting for synchronization

The Call Tree may display '(Waiting for synchronization)'. This means that a thread is waiting for another thread to finish.

If '(Waiting for synchronization)' is the only item in the Call Tree, it is likely that you are viewing the garbage collector thread only. To see all results, select Top-down (Any method), (All threads), Wall-clock time and Hide insignificant methods.

Was this article helpful?

Search support
Forums

ANTS Performance Profiler

all products