Why profile applications using AOP?

Posted by Vance on Programmers See other posts from Programmers or by Vance
Published on 2011-06-21T10:52:38Z Indexed on 2011/06/23 0:31 UTC
Read the original article Hit count: 301

Filed under:
|
|

When tuning performance in a web application, I am looking for good and light-weight performance profiling tools to measure the execution time for each method. I know that the easiest profiling method is to log the start time and end time for each method, but I see more and more people using AOP to profile (add @profiled before each method).

What's the benefit of AOP profiling compared to the common "log" way?

Thanks in advance

Vance

© Programmers or respective owner

Related posts about java

Related posts about Performance