[webkit-dev] WebCore Build Times

Eric Seidel eric at webkit.org
Tue Jun 8 16:19:08 PDT 2010

I think were I to try attacking this, I would write a script to
generate a list of includes, and the number of cpp files which include

Then I would work from the most-included end of that list, trying to
reduce the number of files include each include.


On Tue, Jun 8, 2010 at 4:04 PM, David Kilzer <ddkilzer at webkit.org> wrote:
> On Jun 8, 2010, at 3:17 PM, Eric Seidel <eric at webkit.org> wrote:
>> On my Intel Core 2 Duo MBP a full build takes over 1 hour.  5 years
>> ago, on my g4 laptop a full build took around 40m.  :(  We seem to be
>> slowly moving in the wrong direction.
> Was that before or after SVG was enabled in the engine?  :)  In general, I think the amount of code in WebCore has increased since 2005, which probably has more of an affect than unused headers.
> Having said that, I thought it would be useful to write a script that would remove individual headers on a file-by-file basis and recompile WebKit to find unused header candidates.  I haven't had time to write such a script, though.
> Dave

More information about the webkit-dev mailing list