c++ - Speed up compile time with SSD -


i want try speed compile-time of our c++ projects. have 3m lines of code.

of course, don't need compile every project, there lot of source files modified others, , need recompile of them (for example, when updates asn.1 source file).

i've measured compiling mid-project (that not involves source files) takes 3 minutes. know that's not much, it's boring waiting compile..

i've tried move source code ssd (an old ocz vertex 3 60 gb) that, benchmarked, it's 5 60 times faster hdd (especially in random reading/writing). anyway, compile-time same (maybe 2-3 seconds faster, should chance).

maybe moving visual studio bin ssd grant additional increment in performance?

just complete question: i've w3520 xeon @2.67 ghz , 12 gb of ddr3 ecc.

c++ compilation/linking limited processing speed, not hdd i/o. that's why you're not seeing increase in compilation speed. (moving compiler/linker binaries ssd nothing. when compile big project, compiler/linker , necessary library read memory once , stay there.)

i have seen minor speedups moving working directory ssd or ramdisk when compiling c projects (which lot less time consuming c++ projects make heavy use of templates etc), not enough make worth it.


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -