Red Gate forums :: View topic - What does "Suggest methods to optimize" do?
Return to www.red-gate.com RSS Feed Available

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

What does "Suggest methods to optimize" do?

Search in ANTS Performance Profiler 5 forum
Post new topic   Reply to topic
Jump to:  
Author Message
flipdoubt



Joined: 11 Aug 2009
Posts: 10

PostPosted: Sun Aug 23, 2009 7:43 pm    Post subject: What does "Suggest methods to optimize" do? Reply with quote

The Tools menu has a checked menu item "Suggest methods to optimize" that I am curious about. When I search the online docs, I don't get any hits except those in the forums. Where should I go for an explanation as to what this feature does? Where do I see the recommendations? What behavior should change when I check or uncheck the menu item?
Back to top
View user's profile Send private message
StephenC



Joined: 15 Oct 2007
Posts: 315
Location: Cambridge

PostPosted: Sun Aug 23, 2009 9:11 pm    Post subject: Reply with quote

Hi,

the 'Suggest methods to optimize' option was added as a potential helper in the Performance Profiler although it's not meant as a metric that should be relied upon if you do not agree with the suggestions.

I must stress that the suggestion mechanism is based on a couple of loose rules and these simple rules of thumb (a combination of time spent in self and hit count if my memory is correct), aren't always what the programmer of the application in question might consider a method that needs to be optimized. We can't know that and they are only suggestions after all. Smile

Any suggested methods would be shown in the tree view for example with a red asterisk next to the method name.

Stephen


Last edited by StephenC on Mon Aug 24, 2009 9:52 am; edited 1 time in total
Back to top
View user's profile Send private message
flipdoubt



Joined: 11 Aug 2009
Posts: 10

PostPosted: Mon Aug 24, 2009 2:28 am    Post subject: Reply with quote

You don't mean the red rectangle with the word "HOT" in it, do you? Because I don't see any red dots. Is there any documentation on this menu item that contains a screenshot?
Back to top
View user's profile Send private message
StephenC



Joined: 15 Oct 2007
Posts: 315
Location: Cambridge

PostPosted: Mon Aug 24, 2009 9:46 am    Post subject: Reply with quote

Hi,

it's a red asterisk next to the method name - like this:



If you aren't seeing any it's just because none of the methods match the rule of thumb used to suggest a method.

The hot path shows the most expensive stack trace.

Stephen
Back to top
View user's profile Send private message
flipdoubt



Joined: 11 Aug 2009
Posts: 10

PostPosted: Mon Aug 24, 2009 12:31 pm    Post subject: Reply with quote

Thanks!
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