link-performance

Remove C++-STL/Boost debug symbols (... or do not create them)

Linux/Gcc/LD - Toolchain. I would like to remove STL/Boost debug symbols from libraries and executable, for two reasons: Linking gets very slow for big programs Debugging jumps into stl/boost code, which is annoying For 1. incremental linking would be a big improvement, but AFAIK ld does not support incremental linking. There is a w...

Performance of an large directory structure, networked application

I'm trying to find out what the performance of a large directory structure would be if deep directories were to be accessed on a shared, nfs filesystem. The structure would be excessively large, with 4 levels of nested directories, each level containing 1024 directories. (1024 at root, 1024 in a given subdirectory, and so on). This file...

How best to alleviate scenarios that trigger non-incremental linking (MSVS)

While incremental linking addresses much of the time spent linking, even for very large projects, I find the incremental linker in MSVS to be pretty haphazard. (I'm currently using 2003 atm, would love to hear if 2005/8 addressed any of this.) My list of known triggers include: changing anything external to the main .exe project will...

How to improve link performance for a large C++ application in VS2005

We have fairly large C++ application which is composed of about 60 projects in Visual Studio 2005. It currently takes 7 minutes to link in Release mode and I would like to try to reduce the time. Are there any tips for improving the link time? Most of the projects compile to static libraries, this makes testing easier since each one als...