[webkit-dev] Some compile time data
Adam Roben
aroben at apple.com
Tue Apr 26 13:33:35 PDT 2011
On Apr 26, 2011, at 1:30 PM, David Kilzer wrote:
> On Apr 25, 2011, at 4:59 PM, Stephanie Lewis wrote:
>
>> One point brought up during the compile time discussion today was that if you pulled once a day, you were likely to have rebuild the world. I thought it would be interesting to see which files were contributing to rebuilding the world the most often.
>>
>> Using the data provided by Mihai at http://persistent.info/webkit/tools/buildbot/ I wrote a script to find all of the revisions that took ~2x the average time to compile. Then I matched that up with the file list from svn log to get an idea of which files are triggering world builds the most often (or at least recently).
>>
>> Of the 500 revisions 152 spiked compile time.
>>
>> Here are the most common changed files, full data attached.
>>
>> 12 /trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
>> 12 /trunk/Source/WebCore/bindings/js/JSDOMBinding.h
>> 10 /trunk/Source/WebCore/WebCore.exp.in
>
> Changing WebCore.exp.in should only require relinking WebCore, not recompiling it, although linking WebCore takes a non-trivial amount of time. (The WebCoreExportGenerator project will get recompiled, but that's generally negligible compared to WebCore itself.)
It seems likely that WebCore.exp.in is changing in conjunction with other files, in particular header files which are #included by WebKit.
-Adam
More information about the webkit-dev
mailing list