my dog learned polymorphism
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
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: 14991

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!