Profiling a Java Spring application
问题 I have a Spring application that I believe has some bottlenecks, so I'd like to run it with a profiler to measure what functions take how much time. Any recommendations to how I should do that? I'm running STS, the project is a maven project, and I'm running Spring 3.0.1 回答1: I've done this using Spring AOP. Sometime I need an information about how much time does it take to execute some methods in my project (Controller's method in example). In servlet xml I put <aop:aspectj-autoproxy/> Also,