Red Gate forums :: View topic - "return" takes 10% of the execution time
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 6
ANTS Performance Profiler 6 forum

"return" takes 10% of the execution time

Search in ANTS Performance Profiler 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
setter



Joined: 08 Nov 2011
Posts: 3

PostPosted: Tue Nov 08, 2011 7:01 pm    Post subject: "return" takes 10% of the execution time Reply with quote

I have a method that that is defined like this:

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


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

Code:
return


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

There is no try/finally etc. blocks in the code.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6589

PostPosted: Thu Nov 10, 2011 12:19 pm    Post subject: Reply with quote

Hello,

I wouldn't say this is normal, no. Please feel free to send the results file to support@red-gate.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group