O'Reilly logo

Java EE 5 Development with NetBeans 6 by David Heffelfinger

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

Appendix B. Identifying Performance Issues with NetBeans Profiler

Sometimes we run into performance problems in some of our applications. At times, identifying the code to be optimized may be trivial, but sometimes it is not easy. Profilers are tools that can help us pinpoint performance problems in our code. NetBeans comes with a very good profiler that we can use with our Java EE applications.

Profiling Our Application

All we need to do in order to profile our application is right-click on it in the Projects window and select Profile.

Before we can profile an application, we need to calibrate the NetBeans profiler by going to Profile | Advanced Commands | Run Profiler Calibration.

The first time we attempt to profile our application, the following ...

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