Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, TeamCity, Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

How to profile a .net WCF

Moderators: Vladimir Kondratyev, Anton Katilin

How to profile a .net WCF

Postby Mohan » Thu Feb 22, 2018 2:59 pm

Hi,

I'm using SoapUI to call the WCF.

Let me know how to profile the WCF...I didnt see anything in the help or forum on how to do that?

Mohan
Mohan
 
Posts: 1
Joined: Thu Feb 22, 2018 2:56 pm

Re: How to profile a .net WCF

Postby Anton Katilin » Fri Feb 23, 2018 6:37 am

Hi,

Please try the following approach:

1) set agent startup option to start profiling immediately:
https://www.yourkit.com/docs/dotnet/hel ... ptions.jsp
For example, for CPU sampling use the option "sampling".

2) enable profiling of all processes:
https://www.yourkit.com/docs/dotnet/hel ... al_all.jsp

3) performance snapshots of profiled processes will be captured on process exit and stored in the snapshot directory:
https://www.yourkit.com/docs/dotnet/hel ... ot_dir.jsp
Open the snapshots for analysis.

Best regards,
Anton
Anton Katilin
 
Posts: 5853
Joined: Wed Aug 11, 2004 8:37 am

Re: How to profile a .net WCF

Postby ukdatabasesystem » Mon Jan 13, 2020 12:00 pm

I have a WCF service which is the default application you get when you create a new one from VS2010.
Now I create a Web application in the same solution and consume this web service.
Next I run the application and my web service. The application is connecting to the web service and retrieving the value.

I start the profiling and click a button which executes the functionality for accessing the Web service.
After finishing the profiling, it show the function of WCF in report but i am unable to see source code of WCF service.
ukdatabasesystem
 
Posts: 1
Joined: Mon Jan 13, 2020 11:55 am

Re: How to profile a .net WCF

Postby Vladimir Kondratyev » Mon Jan 13, 2020 3:32 pm

Please read this topic https://www.yourkit.com/docs/dotnet/hel ... ration.jsp
It describes how to navigate to source code in Visual Studio.

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Vladimir Kondratyev
 
Posts: 1508
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany


Return to .NET Profiler

Who is online

Users browsing this forum: No registered users and 1 guest

cron

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.