Date: Mon, 02 Oct 2017 15:18:54 -0500 From: Dan Mack <mack@macktronics.com> To: Mike Tancsa <mike@sentex.net> Cc: freebsd-stable@freebsd.org Subject: Re: my build time impact of clang 5.0 Message-ID: <m2a819uwup.fsf@macktronics.com> In-Reply-To: <e24044ec-e2b2-8c54-3de1-1766768f45c6@sentex.net> (Mike Tancsa's message of "Mon, 2 Oct 2017 15:19:11 -0400") References: <m2lgktv1pg.fsf@macktronics.com> <e24044ec-e2b2-8c54-3de1-1766768f45c6@sentex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Tancsa <mike@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 | >> |--------------+--------------+---------------+----------+-----------|
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2a819uwup.fsf>