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.

Can not show correct method time in sampling

Moderators: Vladimir Kondratyev, Anton Katilin

Can not show correct method time in sampling

Postby EstherLeonard » Sun Sep 20, 2015 10:52 am

My application is running on weblogic and creates multiple threads to process the request from client. While doing CPU profiling using YourKit, I observed that the information is not complete. The time shown in the YourKit is not matching with the one observed using application logs. Can someone please help me ?

We have also tried profiling even after integrating the weblogic server with YourKit but still the same issue.
EstherLeonard
 
Posts: 2
Joined: Sun Sep 20, 2015 10:47 am

Re: Can not show correct method time in sampling

Postby Anton Katilin » Mon Sep 21, 2015 7:37 am

Sampling is approximate by its nature. Use tracing if you need exact times:
https://www.yourkit.com/docs/java/help/cpu_intro.jsp

Please also note that sampling by default measures CPU time for all methods except I/O:
https://www.yourkit.com/docs/java/help/times.jsp
You may try measuring wall time for all methods instead:
https://www.yourkit.com/docs/java/help/ ... ttings.jsp

Please also consider that some calls may by be hidden due to default filter settings:
https://www.yourkit.com/docs/java/help/filters.jsp

If nothing helps could you please provide detail, e.g. a screenshot demonstrating measured times as well as the expected values.
Anton Katilin
 
Posts: 5575
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: Bing [Bot] and 10 guests