Mike Tancsa <mike at sentex.net> writes:
> On 10/2/2017 2:34 PM, Dan Mack wrote:
>>
>> Another significant change in build times this week - not complaining,
>> just my observations on build times; same server doing buildworld
during
>> the various phases of compiler changes over the last year or so FWIW:
>
> Kernel seems to be about the same since 4.x Perhaps the added
> buildworld time is due to a larger feature set of clang 5.x and hence
> takes longer to build itself ? e.g. more platforms supported etc ?
My scripts are pretty coarse grained so I only have timings at the macro
build steps so far (buildworld, buildkernel, installkernel, and
installworld) I'm going to update them so I can a little more
granularity; should be easy to get timings wrapped around the big
sections, for example:
>>> World build started on Mon Oct 2 07:49:56 CDT 2017
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 3.1: recording compiler metadata
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: building everything
>>> stage 5.1: building lib32 shim libraries
>>> World build completed on Mon Oct 2 12:30:02 CDT 2017
Dan
>> -STABLE amd64
>> |--------------+--------------+---------------+----------+-----------|
>> | Ver (svn-id) | World (mins) | Kernel (mins) | Relative | Comment |
>> |--------------+--------------+---------------+----------+-----------|
>> | 292733 | 90 | 16 | 0.5 | |
>> | 299948 | 89 | 16 | 0.5 | |
>> | 322724 | 174 | 21 | 1.0 | clang 4.x |
>> | 323310 | 175 | 21 | 1.0 | clang 4.x |
>> | 323984 | 175 | 21 | 1.0 | clang 4.x |
>> | 324130 | 285 | 21 | 1.6 | clang 5.x |
>> | 324204 | 280 | 21 | 1.6 | clang 5.x |
>> |--------------+--------------+---------------+----------+-----------|