ANTS Profiler

Latest version: 4.3

ANTS Profiler

Knowledge Base

Times on individual lines do not add up to method time

Category: Troubleshooting & error messages
Date: 17 Jun 2009
Product: ANTS Profiler
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 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 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.

Document ID: KB200901000338 Keywords: ANTS,Profiler,line,total,method,source

Was this article helpful?

Search support
Forums
Visit the ANTS Profiler forum.

ANTS Profiler

all products