• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Tim Cooke
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
Saloon Keepers:
  • Piet Souris
Bartenders:

Java Code Profiling

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
reply
    Bookmark Topic Watch Topic
  • New Topic