ANTS Performance Profiler 7

Tips on using the call tree

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 Childrencolumn 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 either of the following:

  1. Choose a "(methods with source)" option from the Scope list in the display options.
  2. 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  Previous or  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.


Didn't find what you were looking for?