ZenithDreams
ZenithDreams

Reputation:

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 there any third party profiler for java/j2ee applications that will allow me to look into the time distribution for methods?

Thanks

Upvotes: 1

Views: 1974

Answers (2)

Swaranga Sarma
Swaranga Sarma

Reputation: 13393

How about JProfiler? In the CPU tab, you can see time spent in methods.

Upvotes: 2

Boris Pavlović
Boris Pavlović

Reputation: 64622

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.

Upvotes: 1

Related Questions