views:

575

answers:

7

I'm looking to find bottlenecks in my Java application in Eclipse. I'm thinking this might be useful:

http://www.eclipse.org/projects/project%5Fsummary.php?projectid=tptp.performance

Any other good plug-ins to use?

EDIT OK, it doesn't necessarily have to be an Eclipse plug-in. But it would be nice. And, I'm most interested in speed.

+7  A: 

YourKit is an excellent commercial profiler that has good Eclipse integration.

Kevin
+4  A: 

The Eclipse Memory Analyser has been helping me a lot recently.

Mario Marinato -br-
This repository link isn't working for me:http://download.eclipse.org/technology/mat/0.7/update-site/
Rosarch
Profiler != Heap analyzer.
Pascal Thivent
A: 

You can always do this. It may surprise you, but it is very effective.

Mike Dunlavey
+4  A: 

In my experience, TPTP is something to run away from as fast as possible. It's a horribly overengineered mess, almost impossible to get to work, badly documented, and slow as molasses.

I'm not aware of any good and free profiling plugins for eclipse. But then, does it really have to be an eclipse plugin? VisualVM comes with the JDK since Java 6u7, is fast and easy to use. It may not be the most feature-rich of profilers, but has been sufficient for me.

Michael Borgwardt
Seconded, avoid TPTP at all costs.
soru
Yet another one of IBMs projects for their proprietary products based on Eclipse which has been polished up and migrated to core Eclipse. Sigh.
Thorbjørn Ravn Andersen
+7  A: 

If you can, use jvisualvm in the Sun Java 6 JDK. It works out of the box and can answer many of the initial questions.

Thorbjørn Ravn Andersen
+2  A: 

I found JProfiler to be really helpful. It has Eclipse integration, although it is not an Eclipse plugin per sa', so you can very easily invoke a profiler instead of a regular execution session. It had very good bottleneck analysis and you can find-tune the settings to lower the overheads of the profiler itself. Highly recommended.

zvikico
A: 

I've also used the Netbeans profiler which is pretty good. It's pretty easy to set it up to profile your Eclipse project while it is running in Eclipse. You don't need to open the project in Netbeans.

Jay Askren