Profiler to see time spent in methods
Hello I have a java application running on a Jboss server. I want to profile the application. The specific details that I am interested in is the time spent in executing the methods.
Is th开发者_开发问答ere any third party profiler for java/j2ee applications that will allow me to look into the time distribution for methods?
Thanks
How about JProfiler? In the CPU tab, you can see time spent in methods.
It's no big deal rolling out your own implementation of an AOP advice which will measure time spent in method execution. Take a look at Chapter 15. Aspect Oriented Programming (AOP) Support
A solution implemented with Spring may be used for inspiration.
精彩评论