FaqCpluPlusProfileRunSlow

(Difference between revisions)
 
Line 1: Line 1:
__NOTOC__
__NOTOC__
-
====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? ====
+
==== 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 Memory profiling might be slowing down your program, so you should try disabling 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 memory profiling:<br>
+
To turn off profiling:<br>
-
Right-click the project > Properties > Profile > deselect Memory Usage
+
Right-click the project > Properties > Profile > deselect '''Profile on Run'''
-
---------
+
To turn off specific profiling tool:<br>
-
Applies to: NetBeans IDE 6.7
+
===== NetBeans 6.7 =====
-
Platform: Linux and Solaris
+
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

Current revision as of 12:12, 8 December 2009

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

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo