*
The moose likes Performance and the fly likes Tools for performance tuning and resource monitoring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "Tools for performance tuning and resource monitoring" Watch "Tools for performance tuning and resource monitoring" New topic
Author

Tools for performance tuning and resource monitoring

Alex Draganski
Greenhorn

Joined: Jan 02, 2009
Posts: 6
I have a very huge code and want to optimize its performance.

For instance, I want to check where JDBC connections are not closed properly, which part of the code utilizes the most CPU and memory, where java objects need to be garbage collected etc.

I'm aware of JConsole but would like to know if there are any other tools.

Thanks in advance.
Sebastian Janisch
Ranch Hand

Joined: Feb 23, 2009
Posts: 1183
MAT is a cool Memory Analyzing tool.

You load a heap dump file and it shows you exactly what parts of your application take how much space.

A profiler is helpful too. This shows you how much time was spent in various method until they completed.


JDBCSupport - An easy to use, light-weight JDBC framework -
Alex Draganski
Greenhorn

Joined: Jan 02, 2009
Posts: 6
Thank you very much, Sebastian!
steve souza
Ranch Hand

Joined: Jun 26, 2002
Posts: 860
Of course there are commercial tools and open source. www.javaperformancetuning.com has a pretty extensive list. Of course the downside is that there is a weatlh of choices that all have different strengths.

One option for the jdbc monitoring is the JAMon jdbc proxy driver that tracks opens/closes of connections, statements, resultsets etc along with tracking performance of each query as well as tracking each exception that is thrown. You can view the output via a web page if you are running in a web server (or via a couple function calls if you are not). It also comes with a servlet filter to track request performance, an ejb filter to track ejb performance as well as a few other things.


http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tools for performance tuning and resource monitoring
 
Similar Threads
Testing Performance of J2EE project
out of memory error
Tomcat monitoring
Performance tool recommendations
web application performance improvement