开发者

Need a free Java method execution profiler that works with Eclipse on Windows

开发者 https://www.devze.com 2023-02-10 09:00 出处:网络
I\'ve read several of the other questions on SO regarding Java profilers, but I haven\'t found anything that fits my needs.

I've read several of the other questions on SO regarding Java profilers, but I haven't found anything that fits my needs.

Here are the features that I need:

  • Java profiler that will work with Java 1.6.0_18 (32-bit)
  • Free for commercial use (my organization does not allow trialware)
  • Able to display method execution times so I can find the bottlenecks (this will be my primary use of the profiler)
  • Plays nice with Eclipse (my organization does not use NetBeans)
  • Works on Windows XP

Additionally, these features would be "nice to have":

  • Graphical display, rather than text output
  • Ab开发者_高级运维le to show memory and CPU usage
  • Able to profile execution of a JUnit that I launch manually from Eclipse, rather than profiling a server (such as Tomcat)
  • Also works on Linux

Based on a recommendation from another question, I just downloaded VisualVM 1.3 and tried it out. It did not work properly on my workstation and did not integrate well with Eclipse, so that one is off my list.

Any suggestions?


The eclipse profiler is a subproject of TPTP (Test and Performance Tools Project).

There is one article from 2006 that shows how to use the profiler (the 2006' version)


What's about CodePro Profiler , which now is free by Google.


I've been making use of the Java VisualVM which comes with Sun/Oracle JDK 6.0. It doesn't integrate with Eclipse, but it doesn't get in the way either. (I'm currently profiling Eclipse plugins).

I did investigate TPTP but I found it difficult to set up and something of a memory hog.

0

精彩评论

暂无评论...
验证码 换一张
取 消