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
You can use an open source java profiler such as Profiler4J:
http://profiler4j.sourceforge.net/
or Netbeans comes with a built in profiler and Eclipse also has profiling capabilities, however I found Profiler4J easier to use since it has a nice graph showing you the most time consuming methods.
This works well in STS (eclipse), just follow the instructions on the site.