Feature #3355
make Ceph build faster, take less RAM to compile
0%
Description
Linkdump:
http://stackoverflow.com/questions/373142/what-techniques-can-be-used-to-speed-up-c-compilation-times
http://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html
http://stackoverflow.com/questions/2918414/c-templates-convincing-self-against-code-bloat
http://stackoverflow.com/questions/555330/templates-use-forward-declarations-to-reduce-compile-time
http://osl.iu.edu/~dgregor/cpp/variadic-templates.html
http://developers.sun.com/solaris/articles/CC_perf/content.html
http://dl.acm.org/citation.cfm?id=1352645&dl=GUIDE&coll=GUIDE
http://stackoverflow.com/questions/2072454/how-do-i-find-out-why-g-takes-a-very-long-time-on-a-particular-file
History
#1 Updated by Sam Lang over 11 years ago
These are good links. The low hanging fruit here seems to be precompiled headers (its hard to justify restructuring existing code for compile speedup). I've tried building with clang and didn't see much improvement in performance.
http://gamesfromwithin.com/the-care-and-feeding-of-pre-compiled-headers