Linker Options That Can Improve Performance

/ALIGNFILE
Default is /ALIGNFILE:512
Use this option to set the file alignment for sections in the output file. Setting /ALIGNFILE to larger factors reduces the load time for the executable.
/BASE
Default is /BASE: 0x10000, the required address for executable files.
This option can be used to position the DLLs you require at non-overlapping address ranges. This will normally speed up loading because it is less likely that a DLL will have to be relocated to some other address.
/OPTFUNC
Default is /NOOPTFUNC. Eliminates unreachable functions from external objects in the module being built.
/EXEPACK
Default is /NOEXEPACK. Pack the executable or DLL file. The size of the module is reduced, reducing load time. Avoid using /NOPACKDATA.


Overview of Optimization


Optimize Your Application


Summary of Linker Options