aspose file tools*
The moose likes Other Open Source Projects and the fly likes Java Code Profiling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Java Code Profiling" Watch "Java Code Profiling" New topic
Author

Java Code Profiling

Mahesh Trikannad
Ranch Hand

Joined: Dec 14, 2004
Posts: 68
Hi,

I am working on a Web application, that uses servlets and applets.

I want to profile the Java code, for memory leaks, performance issues and the like. Will JMETER help me do that.

Regards
Mahesh


Mahesh Trikannad
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42911
    
  68
No. JMeter is a load-test tool. It can stress-test your application by generating a lot of load, and measure response times and throughput. But you still need to profile your code. Java has a built-in profiling tool -hprof- (which very much impacts performance, so you can't use it and still expect meaningful performance numbers), and an API for external tools (JVMPI). If you search through SourceForge you'll find plenty of options; I can't comment on their quality. One commercial tool I've heard good things about is JProbe.
KArol Muszynski
Ranch Hand

Joined: Aug 09, 2005
Posts: 45
Mahesh,

there is one JMETER which can help You. It's HPJMeter. You can download it from http://www.hp.com/products1/unix/java/hpjmeter/. It can be used to profile your application. I found it very useful in the past.

Best Regards,
KArol Muszynski
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Code Profiling