Possible Duplicate:
Please recommend a Java profiler
I am trying to track down the methods that are time-consuming in our java code base, and would appreciate it if someone can recommend a free tool for doing java time profiling. Thanks.
Possible Duplicate:
Please recommend a Java profiler
I am trying to track down the methods that are time-consuming in our java code base, and would appreciate it if someone can recommend a free tool for doing java time profiling. Thanks.
Included with JDK6 is the excellent jvisualvm
adapted from Netbeans. Add the Java bin directory to your path and type jvisualvm
in the run prompt or at the command line.
Let me presume to restate your goal. You want to find the lines of code that are responsible for the most wall-clock time and that you could get rid of to save that time.
This is the most free tool there is, and some consider to be the most effective.