"return" takes 10% of the execution time

Code profiling for .NET Developers

Moderators: Luke Jefferson, StephenC, Alex.Davies, AndrewH, melvyn.harbour, Laura Morley

"return" takes 10% of the execution time

Postby setter » Tue Nov 08, 2011 7:01 pm

I have a method that that is defined like this:

Code: Select all
void DoSomething(int Count, object Message ){}


According to ANTS %10 of the execution time happened in this code

Code: Select all
return


This return in a switch statement. Is this normal? How can it be?

There is no try/finally etc. blocks in the code.
setter
 
Posts: 3
Joined: Tue Nov 08, 2011 6:50 pm

Postby Brian Donahue » Thu Nov 10, 2011 12:19 pm

Hello,

I wouldn't say this is normal, no. Please feel free to send the results file to support@red-gate.com
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am


Return to ANTS Performance Profiler 6

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest