[webkit-dev] Growing tired of long build times? Check out this awesome new way to speed up your build... soon (HINT: It's not buying a new computer)

Keith Miller keith_miller at apple.com
Wed Aug 30 14:58:54 PDT 2017



> On Aug 29, 2017, at 5:54 PM, Sam Weinig <weinig at apple.com> wrote:
> 
> 
> 
>> On Aug 29, 2017, at 12:46 PM, Geoffrey Garen <ggaren at apple.com <mailto:ggaren at apple.com>> wrote:
>> 
>>> This isn’t the scenario I find myself in most often.  A much more common scenario is working on a change; touch one or two files, and then compile and test/debug.  Rinse and repeat.
>> 
>> We’ve already tested this case. The worst case slowdown, if you touch a small file that's in the same bundle as the biggest .cpp file in the project, is 6s => 7s (20%).
>> 
>> Geoff
> 
> I see larger than ~6 second build times with this scenario, not measure scientifically, but I would approximate it more around 20 - 30 seconds. Do you expect the 20% to scale linearly?

It depends on how things are bundled. Operating under the assumption, which needs to be verified, that all the .cpp files in a bundle include *roughly* the same, I would expect this to scale sub-linearly. In WebCore+ I expect headers make up an even larger percentage of a translation unit so if I had to guess it would be an even smaller difference. This is something that I’m planning on testing as I proceed with rolling out unified source builds.

Cheers,
Keith

> 
> 
> In a completely other direction, what does this mean for use of Xcode? Can we still build from Xcode? Debug?
> 
> - Sam
> 
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20170830/66426611/attachment.html>


More information about the webkit-dev mailing list