Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which is the definitive profiling tool for Eclipse 3.7?

I've just started using Eclipse 3.7. Previously with Eclipse 3.6 I used a tool called TPTP for execution-time profiling (It could do a lot else besides this, but that's all I needed it for).

I note that TPTP has now been sidelined, it's no longer an active Eclipse project.

Is there a new project which replaces TPTP? There does not seem to be an equivalent tool bundled with Eclipse, so I'm wondering which is the default go-to free profiler for Eclipse 3.7?

Extra points: The class I'm profiling makes use of a lot of JNI calls. I'm not expecting to get any meaningful insight about what happens in these native calls, but I do not want the fact that I use native calls to break the profiller. For some reason TPTP on Eclipse 3.6 couldnt handle this at all!

like image 542
Salim Fadhley Avatar asked Aug 31 '11 09:08

Salim Fadhley


People also ask

Does Eclipse have a profiler?

Java profiling in Eclipse allows you to optimize your code, streamline your application, and better understand your program. When profiling your application using a line-level analysis, you can reveal the slowest line within a sluggish piece of code, helping you efficiently troubleshoot problems.

What is a Java profiler?

A java profiler works at the JVM level and monitors Java bytecode operations by using various java profiler tools. It helps in monitoring some crucial tasks such as Thread Execution, meaningful Objects creation, Execution of different methods, and garbage collection handling.


2 Answers

i m working with this tool:

http://code.google.com/a/eclipselabs.org/p/jvmmonitor/

Bye

like image 145
mattpltt Avatar answered Sep 26 '22 13:09

mattpltt


If a commercial solution is an option for you, I can recommend

http://www.yourkit.com/

or

http://www.ej-technologies.com

Although the latter made my VM crash on OSX, when I last tried. Fortunately, there's a fully working trial version...

like image 40
mwuersch Avatar answered Sep 23 '22 13:09

mwuersch