Hi,

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.
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%.


I can confirm Andre's findings.
That is the reason why I had the precompiled headers enabled in all of my AOO build environments which I use for development under Windows.

Maybe we should think to
a) make the --enable-pch configure switch the default and
+1

b) remove the word "experimental" from its description.
+10


Best regards, Oliver.


Regards,
Andre

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to