I'm looking for a feature or software, who will allow me to easily profile my method execution time and choose what to profile by package filter.
I know, it's profiler 101. I use the TPTP profiler. But I'm not happy with it. To be frank I just don't understand how it works, and when I profile my application (launch the server in profiling mode), it takes forever to do nothing. (well, not what I expect: a simple output of execution time)
So I do the profiling myself with system time (add a line at beginning and at ending of methods). It's not so bad.
My question is : I want to measure system time before and after a method call with Spring AOP, can you give me direction? It's a good / bad idea ? The code base is pretty large, and we don't have many unit tests, can't it be "dangerous" ?
I'm not asking for code, I think I can do it myself with this kind of link : http://static.springsource.org/spring/docs/2.5.x/reference/aop.html
But if you have a nice tutorial ( never done AOP before, just know the concept), I take it.