Line-by-line or method level?

Code profiling for .NET Developers

Line-by-line or method level?

Postby whiplash » Tue Apr 26, 2011 1:40 am

Which one is more accurate? If I choose method level, it says my program runs in 0.5 seconds. However, if I run it line-by-line, it says my code runs in 6 seconds. Which one is more accurate?

I am new to the program sorry :)
Posts: 1
Joined: Tue Apr 26, 2011 1:38 am

Postby Chris.Allen » Tue Apr 26, 2011 2:29 pm

Method-level is always more accurate as it has less overhead.
Posts: 579
Joined: Thu Mar 12, 2009 3:17 pm

Return to ANTS Performance Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests