From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 8 21:11:23 2009 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96D29106566C; Mon, 8 Jun 2009 21:11:23 +0000 (UTC) (envelope-from pawel.worach@gmail.com) Received: from mail-bw0-f217.google.com (mail-bw0-f217.google.com [209.85.218.217]) by mx1.freebsd.org (Postfix) with ESMTP id E0BA58FC0C; Mon, 8 Jun 2009 21:11:22 +0000 (UTC) (envelope-from pawel.worach@gmail.com) Received: by bwz17 with SMTP id 17so615876bwz.43 for ; Mon, 08 Jun 2009 14:11:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=AN5XYWcEmOhrBFFjBdEuAlW5TFESq+2I/nVsDoxLjn0=; b=JETUq39Yu3Vb47OFSUdwhycmWDILlPNtys3QG6nxq+H6TaKXEtIhBLlO8/ThdlzWQq CMT/FBuh0UwJIOTxylgptaass4aVhku0fq2ej6tR40O++Q2A6LNvy5ql0Cpe3CZIdtc4 tUBxRrDrNv+QoqlFrFV5f2Z6tY2ltL/6YEpsU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=I4HbLCZQUBbIMxl2t+xr6WDXsDGRoBmdJ3vfsfsxbYK68+IPQA4fOlqarol23TQeea r81l0e9CgoAR0cYMsu6hqDn0Hln2W8k2Go46KNWUoX6blJT6LCd9MzhCu8iCEpp6/F4u HsQrV08sGOsv9NhMGmphnlyJei9Q8u7BjTvOk= MIME-Version: 1.0 Received: by 10.204.102.14 with SMTP id e14mr7056454bko.183.1244494004169; Mon, 08 Jun 2009 13:46:44 -0700 (PDT) In-Reply-To: <20090608.120552.756910862.imp@bsdimp.com> References: <20090604093831.GE48776@hoeg.nl> <20090608.120552.756910862.imp@bsdimp.com> Date: Mon, 8 Jun 2009 22:46:44 +0200 Message-ID: From: Pawel Worach To: "M. Warner Losh" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: ed@80386.nl, hackers@freebsd.org, current@freebsd.org Subject: Re: Clang: now available from a SVN server near you! X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2009 21:11:24 -0000 On Mon, Jun 8, 2009 at 20:05, M. Warner Losh wrote: > In message: <20090604093831.GE48776@hoeg.nl> > =A0 =A0 =A0 =A0 =A0 =A0Ed Schouten writes: > : Good news everyone! > ... > : So far we've only done testing on amd64 and i386. A lot of ports are > : probably still broken. Caveat emptor. Beware of dog. Slippery when wet. > > "objects in mirror may be larger than they appear" > > Do you have size or run-time performance comparisons yet? > Here is a semi-recent build-time benchmark for a stipped down amd64 kernel clang: 182.04 real 166.68 user 13.29 sys gcc: 217.79 real 211.00 user 13.22 sys libmicro runtime syscall benchmark results from April: http://www.vlakno.cz/~pwo/lm/2009-04-11/lm.html So runtime performance is on par with gcc, code size is a bit bigger so there is still room for optimization in LLVM. --=20 Pawel