java web app profiler like this

ぃ、小莉子 提交于 2019-12-05 22:11:02

问题


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.


回答1:


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.




回答2:


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




回答3:


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.




回答4:


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.



来源:https://stackoverflow.com/questions/6441069/java-web-app-profiler-like-this

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