Re: ClangBSD build failures

From: Roman Divacky <rdivacky_at_FreeBSD.org>
Date: Tue, 27 Apr 2010 10:05:18 +0200
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_at_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
Received on Tue Apr 27 2010 - 06:07:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:03 UTC