Red Gate forums :: View topic - How to profile a single assemlby?
Return to www.red-gate.com RSS Feed Available

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

How to profile a single assemlby?

Search in ANTS Performance Profiler 8 forum
Post new topic   Reply to topic
Jump to:  
Author Message
k.oosterhuis



Joined: 01 Jul 2013
Posts: 2
Location: Netherlands

PostPosted: Mon Jul 01, 2013 3:13 pm    Post subject: How to profile a single assemlby? Reply with quote

We have a program running slower as times goes.

We want to profile from the start and profile for the next 12 hours.
This creates to large log files and runs very slow.

We know in which assembly the problem is.

Ant Profile 3 had a nice option where you could select which assembly it need to profile only.
------
http://www.red-gate.com/supportcenter/content/ANTS_Profiler/articles/profiling_single_dotnet_assembly
------
But I can't find this option any more in version 7 or 8.
Where is it hidden?

Attaching after 6 hours to a running process doesn't give is enough info.
Back to top
View user's profile Send private message
jessica.ramos



Joined: 23 Apr 2012
Posts: 224

PostPosted: Tue Jul 02, 2013 5:37 pm    Post subject: Reply with quote

Hello and thank you for your post!

There isn't an option in version 7 or 8 of the profiler to profile a single assembly, I'm afraid.

You might be interested in the "Show only" feature, where you can right-click on a method in the call tree and choose to only show methods from a particular namespace.

However, in this case, you might just want to temporarily remove all pdb files from your directory except the pdb file for the one assembly you're interested in profiling. Then if you profile again for "only methods with source", that assembly will come up as the only one with source.

Hope that helps!
_________________
Jessica Ramos
Technical Support
Red Gate Software Ltd.
Back to top
View user's profile Send private message
k.oosterhuis



Joined: 01 Jul 2013
Posts: 2
Location: Netherlands

PostPosted: Wed Jul 03, 2013 7:30 am    Post subject: Reply with quote

The "Show only" is indead not an option. The profile file is way way to big. And sadly the profiler (GUI) uses only 1 cpu out of the 8 to scan through it. So when changing a timeslot/option then you have to wait for minutes. Not working that way.

Removing the pdb's is not an option because for the assembly causing is performance problems we don't have the pdb.

The version 3 had to correct option. I hope it returns.
Back to top
View user's profile Send private message
jessica.ramos



Joined: 23 Apr 2012
Posts: 224

PostPosted: Fri Jul 05, 2013 7:44 pm    Post subject: Reply with quote

I've created a feature request to bring this option back (with reference PP-3346)--many thanks for the suggestion!

One possible workaround for now.. use the .NET Reflector VS Extension to create a pdb file for the assembly (if it's a third party library you will want to first make sure you are not violating any license terms). You can then go ahead with profiling"only methods with source" which should lessen the overhead. I hope that might help!

(for more info on .NET Reflector and/or to download a free trial, kindly see here: http://www.red-gate.com/products/dotnet-development/reflector/ )
_________________
Jessica Ramos
Technical Support
Red Gate Software Ltd.
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