"return" takes 10% of the execution time

Code profiling for .NET Developers

"return" takes 10% of the execution time

Postby setter » Tue Nov 08, 2011 6: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

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

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

Postby Brian Donahue » Thu Nov 10, 2011 11:19 am


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

Return to ANTS Performance Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests