How can I profile NetBeans?
There are many possibilities how to profile Java applications and that can be applied to NetBeans profiling. For different task it can be good to select different ways because each of them has its strengths and weaknesses. See also: DevFaqMemoryLeaks To be able to profile an application it is usually needed to start it with a modified command that typically adds some (JVMPI or JVMTI) libraries, some classes to (boot)classpath, specifies options for profiling and often initializes profiling support before the application starts to run its code. NetBeans profiler The NB module development support is integrated with the NB Profiler. Just select a module and click Profile to start. Want to cover some typical activities like: • action execution (invoked from menu or by shortcut) • window/dialog opening/closing • use of editor including tracking what happens in background • startup Analyzer It is a sampling profiler working on Solaris and Linux (with limited functionality) that collects data