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.
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.
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 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
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.