If you are compiling in a remotely mounted directory, one easy way to decrease Insure++'s compile time is to use the temp_directory
option. This psrc option controls where Insure++ writes its temporary files during compilation. If you use it to redirect temporary files to a local disk, compilation performance will improve dramatically.
For example, adding the insure++.temp_directory /tmp
option to your .psrc file tells Insure++ to write its temporary files in the /tmp directory.
You can significantly speed up the execution of your program by using the header_ignore option in your .psrc file to avoid instrumenting header files that you know are correct. See Configuration Options (psrc) for more information about this option.