简体   繁体   English

在eclipse juno中对java进行性能分析

[英]Profiling for java in eclipse juno

I have to optimize performance of a team project (in eclipse Juno). 我必须优化团队项目的性能(在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. 似乎有一个很好的平台TPTP ,但Eclipse Juno不再支持这一点。 JVM is a good start but seems not sufficient for a deeper analysis. JVM是一个良好的开端,但似乎不足以进行更深入的分析。

Did you have some good pratices for an integrated Plugin in Eclipse Juno? 您是否对Eclipse Juno中的集成插件有一些很好的实践?

If not maybe some standalone tool is succiecent as well. 如果没有,也许一些独立工具也是如此。

There are several big solution in Java profiler world: Java Profiler世界中有几个重要的解决方案:

JProfiler and YourKit are powerful tools for analyzing big EE application. JProfiler和YourKit是分析大型EE应用程序的强大工具。 Personally I most prefer YourKit. 就个人而言,我最喜欢YourKit。 It has easy intergation with Eclipse . 易于与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. 如果您的应用程序不是很复杂,请首先尝试使用JVisualVM It should be enough to wide range of performance problem analyzing. 它应该足以进行广泛的性能问题分析。 To monitoring GC behavior it has great VisualGC plugin. 为了监控GC行为,它有很棒的VisualGC插件。 With VIsualGC plugin, making heap dumps and analyzing it with MAT you are able to perfectly tune GC if you need. 使用VIsualGC插件,进行堆转储并使用MAT进行分析,您可以根据需要完美地调整GC。

I am a big fan of JProfiler and it has a Eclipse plugin too. 我是JProfiler的忠实粉丝,它也有一个Eclipse插件

In this SO post you can find how it works. 在这篇SO帖子中,您可以找到它的工作原理。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM