哪个 Java 分析器更好:JProfiler 还是 YourKit?

发布于 2024-07-07 07:42:29 字数 1450 浏览 6 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(21

阳光下慵懒的猫 2024-07-14 07:42:29

我使用过 JProfiler 4 和 YourKit 7.5,YourKit 毫无疑问胜出。 它比 JProfile 的侵入性要小得多,因为我很乐意在安装了 YourKit 代理的情况下运行生产服务器,而使用 JProfiler 永远不会这样做。

而且,YourKit 自带的分析工具更加直观(在我看来),更容易找到问题的根本原因。

I've used both JProfiler 4 and YourKit 7.5, and YourKit wins hands down. It's so much less invasive than JProfile, in that I'll happy run production servers with the YourKit agent installed, which I would never do with JProfiler.

Also, the analysis tool that comes with YourKit is more intuitive (in my opinion), making it easier to get the root cause of problems.

疧_╮線 2024-07-14 07:42:29

如果您使用的是 jdk >=1.6_07,您可能还想查看捆绑的 jvisualvm。

If you're on jdk >=1.6_07 you might also want to look at jvisualvm which comes bundled.

不弃不离 2024-07-14 07:42:29

最近使用过 JProfiler 和 Yourkit,我发现 yourkit 在内存问题分析方面要优越得多,并且在性能分析方面更喜欢 jprofiler。 Yourkit 的内存分析似乎更加简单和直观。 对于 yourkit 的性能分析,我未能成功解决我尝试使用 yourkit 解决的任何性能问题。 JProfiler 显示更准确、更简洁的性能分析信息,包括方法调用的确切数量以及每个方法所花费的时间百分比。 我还没有在你的工具包里找到这个。 看来您的工具包只是提供了不准确的采样信息,除非您正在测量数千次调用。

Having used both JProfiler and Yourkit recently I find that yourkit is far superior for memory problem analysis and strongly prefer jprofiler for performance analysis. Yourkit's memory analysis seems to be much easier and intuitive. For performance analysis on yourkit I have been unsuccessful in resolving any performance issue I have tried to resolve with yourkit. JProfiler shows more accurate and concise information for performance analysis with the exact number of method invocations and percent time spent in each method. I have yet to find this in yourkit. It seems yourkit just gives sampling information which is not accurate unless you are measuring thousands of invocations.

往日 2024-07-14 07:42:29

我广泛使用过 JProbe、OptimizeIt 和 YourKit,它们都是功能强大的工具。 在这 3 个中,我最喜欢的是 YourKit。

JProbe 的一项杀手级功能是能够从性能快照转移到带注释的源(带有计数和计时)。 我发现这非常有用。

I've used JProbe, OptimizeIt, and YourKit all extensively and they're all capable tools. Of the 3, my all around favorite is YourKit.

The one killer feature in JProbe is the ability to move from a perf snapshot to annotated source (with counts and timings). I found that to be exceptionally useful.

妄断弥空 2024-07-14 07:42:29

除了 JXInsight 之外,没有任何工具执行真正的数据库事务分析:

http://www.jinspired。 com/products/jxinsight/concurrency.html
http://www.jinspired.com/products/jxinsight/olapvsoltp.html

考虑到我们在 SPECjvm2008 基准测试中将 netbeans profiler 的性能提高了 20 倍,将 yourkit 的性能提高了 100 倍,JXInsight 的 Probes 技术也是唯一一种可以在生产环境中运行的技术。

http://blog.jinspired.com/?p=272

我是 JXInsight 的架构师所以当然我完全有偏见,但同时我可能比 Java 行业中的大多数人更有资格做出这样的声明,因为我在过去 8 年里一直致力于对一些最苛刻的 Java/J2EE 应用程序进行性能分析在生产中。

我应该指出,JXInsight 是为软件性能工程师设计的,而不仅仅是为了偶尔的临时分析会话。 我们有超过 4000 多个系统属性来配置运行时和 600 多个技术扩展库,因此除非需要解决复杂的问题和/或在开发、测试和生产中使用相同的工具至关重要,否则这可能会有点过大。

亲切的问候,

威廉

None of the tools other than JXInsight perform real database transaction analysis:

http://www.jinspired.com/products/jxinsight/concurrency.html
http://www.jinspired.com/products/jxinsight/olapvsoltp.html

JXInsight's Probes technology is also the only one that could even run in production considering that we out perform netbeans profiler by 20x and yourkit 100x in SPECjvm2008 benchmarks.

http://blog.jinspired.com/?p=272

I am the architect of JXInsight so of course I am completely biased but at the same time I am probably more qualified than most in the Java industry to make such a claim since I have devoted the last 8 years to performance analysis for some of the most demanding of Java/J2EE application in production.

I should be point out that JXInsight is designed for software performance engineers and not just for the occasional adhoc profiling session. We have more than 4000+ system properties to configure the runtime and 600+ technology extensions libraries so it might be overkill unless one has a complex problem to solve and/or using the same tool across development, test and production is paramount.

Kind regards,

William

一个人的旅程 2024-07-14 07:42:29

With Java 7 Update 40, Oracle included Java mission control (originally part of the JRockit JDK) - a very powerful performance tuning tool which is able to compete with yourkit/jprofiler.

Take a look and be surprised.

浮生未歇 2024-07-14 07:42:29

我都使用过,现在我的投票肯定是 JProfiler(当前版本 6),因为它更易于使用并且具有许多有用的附加功能。 在以前的版本中,YourKit 在较大的快照方面具有一些优势,但现在这种优势已经消失了。

I have used both and my vote now is definitely JProfiler (in the current version 6) as it is easier to use and has a lot of useful additional features. In previous releases YourKit had some advantages with larger snaphots, but this is gone now.

弥枳 2024-07-14 07:42:29

绝对是 YourKit ...它仅使用 1g 堆就能打开 4 GB 堆转储。 而具有相同堆分配的 Jprofiler 崩溃了!

Definitely YourKit ... It was able to open 4 gigs heap dump with just 1g of heap used. While Jprofiler with same heap allocation crashed!

飘然心甜 2024-07-14 07:42:29

我使用过yourkit,它是一个非常很好的分析器,是我在java中使用过的最好的分析器(这些年来我使用过各种其他的分析器)。 话虽这么说,我从未使用过 jprofiler,所以我无法给出直接比较。

i've used yourkit and it is a very nice profiler, the best i've ever used in java (i've used a variety of others over the years). that being said, i've never used jprofiler, so i can't give a direct comparison.

放血 2024-07-14 07:42:29

对于命令行程序的快速而肮脏的分析,JIP 效果非常好。

For quick and dirty profiling of command-line programs, JIP works really well.

甜心 2024-07-14 07:42:29

使用 JProfiler 已有多年,并且非常满意。 IntelliJ 似乎在 YourKit 和 JProfiler 之间来回切换他们的推荐,所以我猜他们的功能集是相似的。 我相信他们都有试用版。

Been using JProfiler for years and very happy with it. IntelliJ seems to switch their recommendation back and forth between YourKit and JProfiler so I would guess their feature sets are similar. I believe they both have trial version.

晌融 2024-07-14 07:42:29

免责声明:替代答案。

他们有各种用于生产监控/分析的产品,与其他主要开发时间工具不同:http://www.jinspired .com/products/jxinsight/
JDBInsight 上服务器端的这篇文章: http://www.theserverside.com/news /thread.tss?thread_id=13488

免责声明:我与该公司没有任何级别的关联。

DISCLAIMER : Alternate answer.

they have various products for production monitoring/profiling UNLIKE other mostly development time tools : http://www.jinspired.com/products/jxinsight/
This post on theserverside on JDBInsight : http://www.theserverside.com/news/thread.tss?thread_id=13488

DISCLAIMER : I am NOT associated with this company at any level.

过期以后 2024-07-14 07:42:29

我用过YourKit。 我没有使用过 JProfiler。 我以前用过OptimizeIt。 我对 YourKit 有很好的看法。 它非常稳定、良好的 GUI 和良好的功能列表。 我注意到的一项独特功能是包含或不包含等待时间(如 I/O wais)的 CPU 分析。

它的价格也非常合理(我认为 5 个许可证大约 1100 美元)

I have used YourKit. I have not used JProfiler. I have used OptimizeIt before. I have very good opinion about YourKit. It is very stable and good GUI and good feature list. One unique feature I have noticed is CPU profiling with and without wait time (like I/O wais) including.

It is priced also very reasonably (about about $1100 for 5 licenses I think)

久隐师 2024-07-14 07:42:29

你的工具包很棒。 您可能还想查看 NetBeans 中内置的分析器——它非常酷。

YourKit is great. You might also want to check out the profiler built into NetBeans--it's pretty cool.

情话难免假 2024-07-14 07:42:29

你的工具包
它开销低、稳定、易于安装在要分析的 JVM 上(只需一个 dll)并且功能强大。
对于分析堆转储,它是唯一接近 Eclipse 内存分析器 的分析器。

Yourkit
It's low overhead, stable, easy to install on the JVM to be profiled (just one dll) and powerful.
For analyzing heap dumps it's the only profiler that comes close to the Eclipse Memory Analyzer.

舂唻埖巳落 2024-07-14 07:42:29

我只使用过 JProfiler (和一些 JProbe)。 据我所知,YourKit 的一个限制是它们似乎不支持 JDK 1.4.2。 对于很多人来说这不是问题,但也可能是。

I've only used JProfiler (and some JProbe). As far as I can tell, one limitation of YourKit is that they don't appear to support JDK 1.4.2. That's not an issue for many people, but it might be.

过潦 2024-07-14 07:42:29

+1 for yourkit --- 在 Windows 中的开发盒上使用 7.0
有一段时间没有使用 JProfiler —— 无法发表评论,因为它们同时可能有所改进。

+1 for yourkit --- using 7.0 on dev boxes in windows
not used JProfiler for a while -- cannot comment since they might have improved in the meantime.

嘦怹 2024-07-14 07:42:29

顺便说一句,您可能需要考虑 Netbeans 分析器——它非常好。 不过你说的这两个我都没用过。

Just as an aside, you may want to consider the Netbeans profiler -- it's pretty good. But I've not used either of the two you mentioned.

小苏打饼 2024-07-14 07:42:29

我正在使用 JProfiler,发现总体还不错。 不过,它的“动态检测”功能对于小型方法来说非常有偏见。

I am using JProfiler and find it overall OK. It's "dynamical instrumentation" feature is terribly biased for small methods, though.

转身以后 2024-07-14 07:42:29

我正在使用 TPTP 分析器。 它的最大特点是可以很容易地集成到 Eclipse 中,但坏处是它会使 Eclipse 运行速度变慢。

I am using the TPTP profiler. the best feature it has that this can be integrated very easily in Eclipse but the bad thing is that it makes the Eclipse run slower.

迷路的信 2024-07-14 07:42:29

绝对是你的套件。 这是最直观、最稳定的!

Definitly YourKit. It is the most intuitiv and stable!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文