[webkit-dev] Compile time increase over time

Carlos Alberto Lopez Perez clopez at igalia.com
Mon Apr 24 15:44:41 PDT 2017

On 24/04/17 21:02, Konstantin Tokarev wrote:
> 24.04.2017, 21:10, "Alex Christensen" <achristensen at apple.com>:
>> Thanks for the data, Carlos! This is a growing problem that is hurting productivity. We’ve discussed it a bit and haven’t done enough about it. Here are some of the ideas I’ve heard:
>> 1) Reduce #includes by doing more forward declaring and less inlining. We would probably need link time optimization to not lose performance benefits of inlining functions in headers.
>> 2) Use distributed build tools and caches to cover up the problem. WebKit would still be prohibitively hard to compile for people without lots of expensive computers, but we could greatly improve the productivity of large teams.
>> 3) Use C++ modules
>> 4) Put more commonly included headers into precompiled headers
> Note that CMake-based ports don't use PCH on non-Windows platforms currently.


I tried to enable that some years ago using the Cotire CMake module, but
I didn't managed to get it working.


If someone wants to take over it, please feel free.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 883 bytes
Desc: OpenPGP digital signature
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20170425/c0dfcc1b/attachment.bin>

More information about the webkit-dev mailing list