Profiling for java in eclipse juno

北城余情 提交于 2020-01-02 04:47:46

问题


I have to optimize performance of a team project (in eclipse Juno).

To identify the bottle neck (timing) i'm searching for a tool or plugin.

There seems to be a good platform TPTP, but this is not supported anymore in Eclipse Juno. JVM is a good start but seems not sufficient for a deeper analysis.

Did you have some good pratices for an integrated Plugin in Eclipse Juno?

If not maybe some standalone tool is succiecent as well.


回答1:


There are several big solution in Java profiler world:

  • JProfiler
  • YourKit
  • JVisualVM, (Standart Oracle JDK tool)

JProfiler and YourKit are powerful tools for analyzing big EE application. Personally I most prefer YourKit. It has easy intergation with Eclipse. But it all is paid solution and not always you need to buy this one.

If you has not very complex application try to use JVisualVM at first. It should be enough to wide range of performance problem analyzing. To monitoring GC behavior it has great VisualGC plugin. With VIsualGC plugin, making heap dumps and analyzing it with MAT you are able to perfectly tune GC if you need.




回答2:


I am a big fan of JProfiler and it has a Eclipse plugin too.

In this SO post you can find how it works.



来源:https://stackoverflow.com/questions/14002744/profiling-for-java-in-eclipse-juno

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!