Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jprofiler 7.2.2 - how do I view time spent in methods

Tags:

java

jprofiler

I have downloaded the trial version of JProfiler, and am testing it out on a java 1.5 console app. It only shows me memory usage, ie, how many times a java.lang.String was instantiated. I want to see what methods were called and how much time is spent in each method. I have not figured out how to do this in the trial version.

I viewed the following article http://java.dzone.com/articles/jprofiler-your-java-code-could, which shows a menu choice for "Performance Bottle Necks". I don't have this option in my drop down menu. Is this feature disabled in the trial version?

like image 648
joneric wennerstrom Avatar asked Jan 29 '13 17:01

joneric wennerstrom


People also ask

Is JProfiler performance measuring tool?

JProfiler is a Java profiler tool and is useful for developers/testers as it can be used to analyze performance bottlenecks, memory leaks, CPU loads, and to resolve threading issues. JProfiler works both as a stand-alone application and as a plug-in for the Eclipse software development environment.

Is JProfiler open source?

JProfiler This product requires purchasing a license, but also offers a free trial. Like most profilers, we can use this tool for both local and remote applications.


1 Answers

Activate the CPU view section in the left side bar, then choose the "Hot spots" tab. You might have to start recording CPU data first. If no data has been recorded, there will be a button that tab that allows you to start CPU recording.

like image 173
Ingo Kegel Avatar answered Oct 20 '22 00:10

Ingo Kegel