LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Does turning off debugging help a compiled .exe file run faster?

I'm trying to get my application to run faster.  I saw on this website that turning off the debugger makes the application run faster but it's unclear if that applies to the development platform or a compiled executable.
0 Kudos
Message 1 of 2
(2,589 Views)
You are probably referring to this KB article: General Performance Improvements. When you create a stand-alone application you can also enable debugging. This will save the block diagrams so you can debug the application while it's running. Normally when you build an app the block diagrams is stripped.

The amount of impact that turning off debugging will have to your VI/app performance is hard to say. To best way to get a VI/app to run faster is to improve the code in the first place. This means avoiding very large memory arrays, not initializing and closing references every time you iterate in a loop, minimizing file I/O, etc. If you provide some idea of what your code does, and can perhaps post your code, specific suggestions can be provided. 
0 Kudos
Message 2 of 2
(2,583 Views)