> On Aug 29, 2017, at 5:54 PM, Sam Weinig <wei...@apple.com> wrote:
> 
> 
> 
>> On Aug 29, 2017, at 12:46 PM, Geoffrey Garen <gga...@apple.com 
>> <mailto:gga...@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@lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to