On 21/01/2014 10:09, Andre Fischer wrote: > On 21.01.2014 08:57, Andre Fischer wrote: >> Yesterday I was asked whether the use of precompiled headers had any >> benefit on the compilation speed. I thought the answer would be yes >> but I was not sure. So I did some tests. And the difference is >> huge. I compiled sw/ with >> >> make -sr -j8 >> >> on a i7 s2720 (2.2GHz), 8GB Ram laptop. > > One important addition: precompiled headers are only supported on > Windows (my experiment took place on Windows7). I guess the other > systems are fast enough without precompiled headers. > Also, I'm not an expert, but I think that there's a difference for release artifacts whether or not you compile with PCH. I know that the chromium project, for example, recommends PCH for debug builds, but for final releases, removing PCH is a big part of the optimizations...
Issac --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org