分析 Java EE 应用程序
Profiler 到底是做什么的?
我在我的 Java EE 应用程序上运行了 JProbe 分析器。 现在我只选择了性能分析。当我研究代码时,它显示了每个方法被调用的次数以及花费的时间。它让我对这些事情有了一个清晰的认识。
现在我的问题是,探查器通常到底做什么?它似乎唯一做的就是显示一个方法被调用了多少次以及每个方法花费了多少时间?
对 Java EE 应用程序进行性能分析真的只意味着这个吗? (仅涉及性能分析)
What does a Profiler do exactly?
I ran the JProbe profiler on my Java EE Application.
For now I selected Performance Analysis only. When I investigated the code, it showed how many times each method gets called and how much time it took. It gave me a clear view of these things.
Now my question is, what in general does a profiler do exactly? The only thing it seems to do is showing how many times a method is called and how much time each method took?
Does Profiling a Java EE application indeed only means this thing? (In the concern of Performance Analyses only)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
除了跟踪和方法计时之外,分析器还可以告诉您许多有用的信息:
I喜欢使用安装了所有插件的 Visual VM 1.3.3。我使用 Oracle/Sun JVM,所以它适合我。
A profiler can tell you lots of useful things, in addition to traces and method timings:
I like to use Visual VM 1.3.3 with all the plugins installed. I use the Oracle/Sun JVMs, so it works for me.
只是补充一下..分析是通用概念,不仅限于 Java 或 Java EE。
这是对程序的动态分析。
Just to add..Profiling is general concept not only restricted to Java or Java EE.
It is a dynamic analysis of your program.