Red Gate forums :: View topic - Unable to display custom methods from profiling
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

Unable to display custom methods from profiling

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



Joined: 23 Sep 2009
Posts: 2

PostPosted: Wed Sep 23, 2009 3:58 am    Post subject: Unable to display custom methods from profiling Reply with quote

Hi all:

I tried to use ANTS performance profiler 5 to profile my app. I would like it to display all the methods ran in my app and the time it took for them to complete (well most of it anyway). However, what I got was just a few thread.Callback methods and a whole heap of system-related methods (e.g. SharePoint, Date comparison methods) from the spikes on the timeline.
This is after I chose to display all methods in the report.

Is there any way to display the classes/methods in my code and their performance?

Many thanks.

Chris.
Back to top
View user's profile Send private message
Chris Auckland



Joined: 24 Oct 2006
Posts: 757
Location: Red Gate Software Ltd.

PostPosted: Thu Sep 24, 2009 12:05 pm    Post subject: Reply with quote

Thanks for your post.

Have you tried looking at the 'Method Grid' view? This can be found be selecting the 'Show Methods Grid' button at the bottom of the results pane.

If you turn off all the filters such as 'hide insignificant methods' you should see all the methods.

I hope this helps.
_________________
Chris
Back to top
View user's profile Send private message Send e-mail
chris.chan



Joined: 23 Sep 2009
Posts: 2

PostPosted: Thu Sep 24, 2009 11:38 pm    Post subject: Reply with quote

I have unchecked the hide insignificant methods filter. I was able to see a few more methods, but none of them came from my code. Confused

I have also looked at the 'Method Grid' view, but I have yet to see anything to appear in that view. Does it require a lot of time to load?
Back to top
View user's profile Send private message
Chris.Allen



Joined: 12 Mar 2009
Posts: 585

PostPosted: Tue Sep 29, 2009 4:35 pm    Post subject: Reply with quote

No - shouldn't take long to load.

I suggest:

1. select the whole time range (better still, after profiling, don't select any time range- it will default to all of it).

2. Stick with method grid view

3. Make sure "Any methods" is selected (from the drop-down at the bottom).

4. Click on the Namespace column so that you can more easily see your methods.

5. If you want to see your source code, register your assembly in the GAC (gacutil -i ...) and put the most recent pdb in the directory where it ends up.

Hope this helps!
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