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

API to control profiling (start, stop, create snapshot)?

Moderators: Vladimir Kondratyev, Anton Katilin

API to control profiling (start, stop, create snapshot)?

Postby MRBihy » Fri Apr 18, 2008 1:42 pm

Hi everybody!

We are evaluating your product YourKit Profiler 3.0 for .NET (3.0.5, 4 March 2008) and need to know if it's possible to control profiling from within our ASP.NET application via API. We have some rather large methods and need to turn profiling on at some place in the code and then turn it off again at some other line. Same thing is true for taking snapshots.
Is this possible?

I've already had some experience with another product called JProbe back in 1999 and 2000. They had an API which allowed control of profiling
from within the application.

best regards

Manfred
MRBihy
 
Posts: 2
Joined: Fri Apr 18, 2008 12:51 pm

Postby Vladimir Kondratyev » Fri Apr 18, 2008 3:12 pm

At the moment there is no public API which allows to control profiler modes, but we are working on it. So I believe that it will appear in the nearest future.

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

Re: API to control profiling (start, stop, create snapshot)?

Postby Calandale » Thu Oct 30, 2008 2:31 pm

I'm supposing that this feature has not been added?

As an alternative, is there any means of running the profiler from the command line,
without opening the GUI? We are considering methods of automatically profiling, and this looks like a
useful feature.
Calandale
 
Posts: 6
Joined: Thu Oct 30, 2008 2:14 pm

Re: API to control profiling (start, stop, create snapshot)?

Postby Vladimir Kondratyev » Thu Oct 30, 2008 2:59 pm

API will be available in the next version of profiler. EAP builds will be open soon.
Vladimir Kondratyev
 
Posts: 1444
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Re: API to control profiling (start, stop, create snapshot)?

Postby Calandale » Thu Oct 30, 2008 3:08 pm

Cool.

Is there a way of setting timed snapshots, from the GUI?
Calandale
 
Posts: 6
Joined: Thu Oct 30, 2008 2:14 pm

Re: API to control profiling (start, stop, create snapshot)?

Postby Anton Katilin » Thu Oct 30, 2008 6:31 pm

Currently not, but this functionality will most likely appear in next version. EAP will start soon.
Anton Katilin
 
Posts: 5575
Joined: Wed Aug 11, 2004 8:37 am

Re: API to control profiling (start, stop, create snapshot)?

Postby Vladimir Kondratyev » Wed May 20, 2009 11:44 am

Recently we have released version 4.0 of YourKit Profiler for .NET, and now it's
possible to use API to control profiling. Here is the link on documentation:

http://www.yourkit.com/docs/net40/help/api.jsp
Vladimir Kondratyev
 
Posts: 1444
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 6 guests