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.

Great Stuff

Moderators: Vladimir Kondratyev, Anton Katilin

Great Stuff

Postby trix » Wed Aug 11, 2004 12:28 pm

Great Stuff.

I was in the process of writing mail requesting some sort of forum for better feedback.

I like the YK profiling APIs.

Feature requests,

+ I dont suppose its possible to automatically take a memory and cpu snapshot for each JUnit test case?

+ It could be very handy, if, after profiling tests its is able to pop up the YourKit profiler with the associated .memory and .cpu dumps.

+ Code Coverage?

+ It could be _very_ nice to be able to run a test case, take a .memory/.cpu dump and then do a refactor and compare .memory and .cpu results.
It could be quite different to understand the differences but the results could be quite worthwhile.

-Tim
trix
 
Posts: 2
Joined: Wed Aug 11, 2004 12:17 pm

Whoops

Postby trix » Wed Aug 11, 2004 12:50 pm

Sent too soon.

+ API: Regarding the APIs, (which are great since you can create tests that will snapshot specific areas). It would also be very nice to programmatically indicate the particular objects that you're looking for so that inside a JUnit test you can check the number of allocations, etc.
(nice but questionable).

+ Regarding the profiling tests and popping up the YourKit profiler above, this only makes sense if YourKit is able to detect a whole lot of stuff... and have it configurable re: IDEA integration plugin. This may be a whole lot of work that is again questionable but would be _very_ handy if automatic profiling of tests occurs.
trix
 
Posts: 2
Joined: Wed Aug 11, 2004 12:17 pm

Re: Great Stuff

Postby Vladimir Kondratyev » Thu Aug 12, 2004 5:59 pm

trix wrote:Great Stuff.
+ I dont suppose its possible to automatically take a memory and cpu snapshot for each JUnit test case?


It's not directly possible. But as workaround you can just implement subclass of TestCase which captures snapshot in its tearDown()

trix wrote:+ It could be very handy, if, after profiling tests its is able to pop up the YourKit profiler with the associated .memory and .cpu dumps.


In one of the next EAP builds we will add ability to specify parameters for yjp.bat. So it will be possible to run the profiler with given snapshots. Is it OK?

trix wrote:+ Code Coverage?


Will be implemented in version next after 3.0.

trix wrote:+ It could be _very_ nice to be able to run a test case, take a .memory/.cpu dump and then do a refactor and compare .memory and .cpu results.
It could be quite different to understand the differences but the results could be quite worthwhile.


Nice idea. In the next version (after 3.0) we are going to significantly improve support of performance testing. For example, we are going to release open API which allows to introspect CPU and memory snapshots to write comprehensive performance tests and have "snapshot storage" to track performance improvements/degradation during whole development process.
Vladimir Kondratyev
 
Posts: 1459
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Postby Chris » Thu Sep 02, 2004 6:54 am

Nice idea. In the next version (after 3.0) we are going to significantly improve support of performance testing. For example, we are going to release open API which allows to introspect CPU and memory snapshots to write comprehensive performance tests and have "snapshot storage" to track performance improvements/degradation during whole development process.


No fair teasing us with version 4.0 features when 3.0 isn't even out the door yet! :)
Chris
 
Posts: 6
Joined: Fri Aug 13, 2004 7:15 am


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 17 guests