O'Reilly logo

Java EE 7 Performance Tuning and Optimization by Osama Oransa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Profiling our ExcellentSurvey application

We will now profile our application. As we clarified earlier, we need to first restore the database schema so that we can work on the baseline again. We will then restart our application server, attaching one of the profilers, which we have already learned how to do earlier in Chapter 4, Monitoring Java Applications, and finally we will execute our performance test to get the profiling results.

Usually, it is recommended to use the sampling mode as it won't affect the application performance, but the instrumental mode can reveal more information. So, it is better to start with sampling, and if the information is not enough, we can perform instrumental profiling to certain selected areas/transactions of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required