File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Java profiling tool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java profiling tool" Watch "Java profiling tool" New topic

Java profiling tool

Harsha Hegde

Joined: Jan 12, 2009
Posts: 17

I need to analyze the time taken by my application to figure out which method is taking how much time to execute. So to do such a profiling is there any easy to use tool?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15037

The JDK includes a tool called VisualVM which contains a profiler. You can start it by running the command jvisualvm.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: Java profiling tool
It's not a secret anymore!