Java Reference
In-Depth Information
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 Proile . At that point, the following window will pop up:
As we can see, there are several aspects of our application we can profile, such as
memory allocation and CPU usage. One of the most useful features of the NetBeans
profiler is the ability to report how long each method invocation in our application is
taking, this information is provided when we profile CPU usage.
In order to start profiling, we simply click on the Run button. At this point the
application server will be started in profiling mode, and our application will be
deployed and executed. After a few seconds the Profiler control panel will open.
 
Search WWH ::




Custom Search