How to monitor elastic beanstalk tomcat instance using a profiler

70 Views Asked by At

I am trying to figure out some performance issues in my spring boot application. A code block is running within a for loop and taking a lot of time(there are no network calls). I want to identify the expensive lines of code within the block.

The war file is deployed on elastic beanstalk and is running in a tomcat web container. I am fairly new to profiling and unable to figure out where to start from. I have read about VisualVM and Jprofiler but not sure how to use them. It would be helpful if anyone can point me in the right direction.

0

There are 0 best solutions below