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
API to control profiling (start, stop, create snapshot)?
-
- Posts: 2
- Joined: Fri Apr 18, 2008 12:51 pm
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 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!"
Best regards,
Vladimir Kondratyev
YourKit, LLC
http://www.yourkit.com
"Don't get lost in data, get information!"
-
- Posts: 6
- Joined: Thu Oct 30, 2008 2:14 pm
Re: API to control profiling (start, stop, create snapshot)?
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.
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.
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
Re: API to control profiling (start, stop, create snapshot)?
API will be available in the next version of profiler. EAP builds will be open soon.
-
- Posts: 6
- Joined: Thu Oct 30, 2008 2:14 pm
Re: API to control profiling (start, stop, create snapshot)?
Cool.
Is there a way of setting timed snapshots, from the GUI?
Is there a way of setting timed snapshots, from the GUI?
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: API to control profiling (start, stop, create snapshot)?
Currently not, but this functionality will most likely appear in next version. EAP will start soon.
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
Re: API to control profiling (start, stop, create snapshot)?
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
possible to use API to control profiling. Here is the link on documentation:
http://www.yourkit.com/docs/net40/help/api.jsp