Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2010 10:05:18 +0200
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Dominic Fandrey <kamikaze@bsdforen.de>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: ClangBSD build failures
Message-ID:  <20100427080518.GA31918@freebsd.org>
In-Reply-To: <4BD68275.6020509@bsdforen.de>
References:  <4BD68275.6020509@bsdforen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 27, 2010 at 08:21:41AM +0200, Dominic Fandrey wrote:
> Hello,
> 
> I wanted to make some performance comparisons, building ClangBSD
> with different compilers.
> 
> The host system is:
> FreeBSD mobileKamikaze.norad 8.0-STABLE FreeBSD 8.0-STABLE #0: Mon Apr  5 12:45:41 CEST 2010     root@mobileKamikaze.norad:/usr/obj/HP6510b-8/amd64/usr/src/sys/HP6510b-8  amd64
> 
> An interesting result is that buildkernel with clang takes longer:
> CC=clang
> time -l make buildkernel
>       921.31 real       802.25 user       114.93 sys
> time -l make buildkernel -j3
>       645.17 real       838.46 user       143.03 sys
> 
> CC=cc
> time -l make buildkernel
>       877.14 real       757.42 user       115.11 sys
> time -l make buildkernel -j3
>       628.32 real       798.03 user       149.52 sys

fwiw.. these are my times:


clang:
403.342u 42.516s 6:53.30 107.8% 21957+2248k 33+56671io 364pf+0w

gcc:
451.952u 42.860s 7:23.16 111.6% 6564+2012k 78+43200io 3pf+0w


note that clang build had more page faults thus would be a little faster
without them



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100427080518.GA31918>