Mass compiling a VI is another way to improve performance. Mass compiling a VI compiles the top-level VI and also recompiles and relinks all the subVIs and functions on the block diagram with the top-level VI. Select Tools»Advanced»Mass Compile to select a VI to mass compile.