java web 应用程序分析器就像这样
Read an article on
http://code.google.com/p/mvc-mini-profiler/
Any open-source profiler available like this for java web apps?
Anyone started to port this one to Java environment?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
是的,有一个受 Google App Engine Java 运行时
mvc-mini-profiler
启发的 java“迷你分析器”项目(
gae-java-mini-profiler
)。您可以查看演示。
Yes, there is one java "mini profiler" project inspired by
mvc-mini-profiler
for the Google App Engine Java runtime(
gae-java-mini-profiler
).You can see a demo.
BTrace 是一个很好的代理,可用于从 JVM 中获取分析信息(从内存使用情况、线程使用情况到方法执行时间和调用计数的任何信息)。我编写了一个与 BTrace 集成的应用程序 (EurekaJ),让您可以根据 BTrace 收集的数据可视化并创建阈值。
我从来没有使用过MVC Mini Profiler,但是BTrace + EurekaJ确实是一个完全开源的解决方案。我不知道 Java 平台有任何其他开源分析器,但可能存在一些东西。
BTrace:http://kenai.com/projects/btrace
EurekaJ: http://eurekaj.haagen.name
BTrace is a good agent that can be used to get the profiling information out of your JVM (anything from memory usage, thread usage, to method execution times and invocation counts). I have written an application (EurekaJ) that integrated with BTrace to let you visualize and create thresholds based on the data gathered by BTrace.
I have never used MVC Mini Profiler, but BTrace + EurekaJ is indeed a fully open-source solution. Im not aware of any other open-sourced profilers for the Java Platform, but something may exist.
BTrace: http://kenai.com/projects/btrace
EurekaJ: http://eurekaj.haagen.name
我不知道这个项目的端口。
您基本上可以使用 JUnit 和 JunitPerf 来衡量功能的性能和可扩展性。它看起来并不那么容易做到,但它应该可以帮助您入门。
I don't know of a port for this project.
You can essentially use JUnit and JunitPerf to measure the performance and scalability of functionality. It doesn't look as as easy to do, but it should get you started.
java-mini-profiler
这是我写的,取自 gae-java-迷你分析器,但适用于非 gae 应用程序。它还提供一些可以选择启用的额外功能,例如分析注释和 sql 分析。
java-mini-profiler
This is one I wrote which takes from gae-java-mini-profiler but works for non-gae applications. It also some extra features which can be optionally enabled such as profiling annotation and sql profiling.