Red Gate forums :: View topic - Profile XBAP remote
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

Profile XBAP remote

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



Joined: 21 Dec 2009
Posts: 3

PostPosted: Mon Dec 21, 2009 5:37 pm    Post subject: Profile XBAP remote Reply with quote

Hi!

Q: I want to profile the startup on an remote XBAP.

I wonder if there is an article on how to do that, and get info about the source code. (hint in program says profile browser and use .NET)

If I do it localy I get detaild info on where time is spent in my code, but when doing remote I only get three methods.
(Transition to managed code, SetDefaultDomainManager, PerformIOCompletionCallback)

* Is there a way to tell ANTS where my source code/project is?
* Is there a way to tell ANTS where .NET source code/SDK is?

My goal is to determin if it's only the load of .NET and sandbox that take most of the time at customer site. I'm using different tools to see what to use.

Best regards
Jonas Gunnarsson
Back to top
View user's profile Send private message
Chris.Allen



Joined: 12 Mar 2009
Posts: 594

PostPosted: Tue Dec 22, 2009 9:27 pm    Post subject: Reply with quote

The Profiler can only give results from the local .NET runtime. I don't believe that the .NET profiling API can support any remote performance data yet (not even in CLR 4.0).
Back to top
View user's profile Send private message
guson



Joined: 21 Dec 2009
Posts: 3

PostPosted: Wed Dec 23, 2009 3:54 pm    Post subject: Re: Reply with quote

Chris.Allen wrote:
The Profiler can only give results from the local .NET runtime. I don't believe that the .NET profiling API can support any remote performance data yet (not even in CLR 4.0).


Ok, I want the local .NET load time, and local XBAP load time. I only want to start the XBAP from remote.

My goal is to optimize startup at client side, may be to remove/not use some .NET lib. I want to do that at customer side computer, or any computer.

It looks like it is the loading of .NET modules that takes to long, so I want to remove some components, to load later, so I get better "precived time".

Thanks
Jonas
Back to top
View user's profile Send private message
Chris.Allen



Joined: 12 Mar 2009
Posts: 594

PostPosted: Tue Dec 29, 2009 3:03 pm    Post subject: Reply with quote

Ah- I see what you mean.

* Is there a way to tell ANTS where my source code/project is?

ANST will pick up your debug pdbs if they are in the same directory as the executable it is profiling. Or you can set up a global cache:

http://www.red-gate.com/supportcenter/Content.aspx?p=ANTS Performance Profiler&c=knowledgebase%5cANTS_Performance_Profiler%5cKB200708000133.htm

* Is there a way to tell ANTS where .NET source code/SDK is?

If you have the .NET symbols files (pdb), put them in teh global cache as above.

Finally, to obtain a full listing of all methods profiled- use the "methods view" (the middle grey button on the bottom-left).
Back to top
View user's profile Send private message
guson



Joined: 21 Dec 2009
Posts: 3

PostPosted: Wed Dec 30, 2009 10:35 am    Post subject: Reply with quote

Thanks Chris, Ok I use the pdb-files, that will do the trick.
Best
Jonas
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