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.
Without precompiled headers that takes a little over 19 minutes. With
precompiled headers that drops down to a little over 10 minutes. That
is a reduction of almost 50%.
Maybe we should think to
a) make the --enable-pch configure switch the default and
b) remove the word "experimental" from its description.
Regards,
Andre
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org