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

CPU Profile Individual Lines within a Method

Moderators: Vladimir Kondratyev, Anton Katilin

CPU Profile Individual Lines within a Method

Postby christopherwjohnson » Mon Jul 16, 2018 2:49 am

Is there a way to profile individual lines/operations within a method?

Currently YourKit Java Profiler is revealing hotspot methods but I don't see any information about what parts of the methods are eating the CPU. Some of these hotspots are large third-party methods that will take a lot of work to break into smaller methods in order to narrow down the profiling results.
christopherwjohnson
 
Posts: 1
Joined: Mon Jul 16, 2018 2:34 am

Re: CPU Profile Individual Lines within a Method

Postby Anton Katilin » Mon Jul 16, 2018 7:56 am

Profiling results in hot spots view are presented per-method. Line numbers where methods are called are presented in call trees.
Anton Katilin
 
Posts: 6029
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] and 1 guest

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.