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

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: 5757
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 12 guests

cron