开发者

Which is the definitive profiling tool for Eclipse 3.7?

开发者 https://www.devze.com 2023-04-01 23:43 出处:网络
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'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 i开发者_开发技巧nsight 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!


i m working with this tool:

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

Bye


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...


You can try VisualVM (is not an Eclipse tool, is included into the JDK 6 Update 7 and next)


You can use JVM Monitor, which is a free Eclipse plugin in pure Java.

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

It lets you monitor JVM applications, doesn't require any special launch configuration or preparation, and uses standard JVM APIs to connect and monitor. For me it just worked moderately OK, right out-of-the-box.

It includes profiling, targets your specified packages & includes 'total time' and call trees for method profiling. These were what I needed & couldn't get with JVisualVM.

0

精彩评论

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