FaqCpluPlusProfileRunSlow
My program runs slowly in the IDE, but faster outside the IDE and when debugging in the IDE. Why, and how can I fix it?
The profiling tools (especially memory profiling) might be slowing down your program, so you should try disabling some or all of them.
To turn off profiling:
Right-click the project > Properties > Profile > deselect Profile on Run
To turn off specific profiling tool:
NetBeans 6.7
Right-click the project > Properties > Profile > deselect specific tool
NetBeans 6.8
Right-click the project > Properties > Profile > click the small [...] button next to Profile Configuration > deselect specific tool
