| Author |
Message |
chris.chan
Joined: 23 Sep 2009 Posts: 2
|
Posted: Wed Sep 23, 2009 3:58 am Post subject: Unable to display custom methods from profiling |
|
|
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 |
|
 |
Chris Auckland
Joined: 24 Oct 2006 Posts: 710 Location: Red Gate Software Ltd.
|
Posted: Thu Sep 24, 2009 12:05 pm Post subject: |
|
|
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 |
|
 |
chris.chan
Joined: 23 Sep 2009 Posts: 2
|
Posted: Thu Sep 24, 2009 11:38 pm Post subject: |
|
|
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.
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 |
|
 |
Chris.Allen
Joined: 12 Mar 2009 Posts: 442
|
Posted: Tue Sep 29, 2009 4:35 pm Post subject: |
|
|
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 |
|
 |
|
|
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