From owner-freebsd-stable@freebsd.org Mon Oct 2 21:18:36 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2E069E27E57 for ; Mon, 2 Oct 2017 21:18:36 +0000 (UTC) (envelope-from andyf@andyit.com.au) Received: from alpine.spintel.net.au (alpine.spintel.net.au [IPv6:2407:e400:1::b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ABEF87C059 for ; Mon, 2 Oct 2017 21:18:35 +0000 (UTC) (envelope-from andyf@andyit.com.au) Received: from drunkfish.andyit.com.au (210-1-210-40-cpe.spintel.net.au [210.1.210.40]) by alpine.spintel.net.au (Postfix) with ESMTPS id 1F47C4C2F8F for ; Tue, 3 Oct 2017 08:18:20 +1100 (AEDT) Received: from snuggles.andyit.com.au (snuggles.andyit.com.au [172.22.2.2]) by drunkfish.andyit.com.au (8.15.2/8.15.2) with ESMTP id v92LII97042211 for ; Tue, 3 Oct 2017 07:18:18 +1000 (AEST) (envelope-from andyf@andyit.com.au) Message-ID: <59D2AD1A.8070608@andyit.com.au> Date: Tue, 03 Oct 2017 07:18:18 +1000 From: Andy Farkas User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120614 Thunderbird/13.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: my build time impact of clang 5.0 References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 21:18:36 -0000 On 03/10/2017 06:18, Dan Mack wrote: > > 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 > Perhaps you could hack src/tools/tools/whereintheworld/whereintheworld.pl -andyf