ANTS Performance Profiler 10

Times on individual lines do not add up to method time

When viewing the source code view of the ANTS Performance Profiler results, the times on the individual lines of code for a method may not add up to the total method time.

ANTS Performance Profiler subtracts its own overhead from the method times in order to reflect the real-world performance of an application when it is running outside of ANTS Performance Profiler. The overhead calculation is not done for individual lines of code, however, causing the sum of the times on lines of code contained in the method to be greater than the method time.

The reason for this design is because the overhead calculation for individual lines of code will affect the performance of the application being profiled to an intolerable degree, so the line-level times remain more as a rough guide to the slowest individual lines of code.


Didn't find what you were looking for?