From owner-freebsd-current@FreeBSD.ORG Tue Sep 4 21:43:55 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 569811065670 for ; Tue, 4 Sep 2012 21:43:55 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id 340208FC14 for ; Tue, 4 Sep 2012 21:43:55 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.5/8.14.5) with ESMTP id q84LhiZs018450; Tue, 4 Sep 2012 14:43:44 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.5/8.14.5/Submit) id q84LhiVJ018449; Tue, 4 Sep 2012 14:43:44 -0700 (PDT) (envelope-from sgk) Date: Tue, 4 Sep 2012 14:43:44 -0700 From: Steve Kargl To: Dimitry Andric Message-ID: <20120904214344.GA17723@troutmask.apl.washington.edu> References: <5046670C.6050500@andric.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5046670C.6050500@andric.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: Compiler performance tests on FreeBSD 10.0-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2012 21:43:55 -0000 On Tue, Sep 04, 2012 at 10:39:40PM +0200, Dimitry Andric wrote: > > I recently performed a series of compiler performance tests on FreeBSD > 10.0-CURRENT, particularly comparing gcc 4.2.1 and gcc 4.7.1 against > clang 3.1 and clang 3.2. > > The attached text file[1] contains more information about the tests, > some semi-cooked performance data, and my conclusions. Any errors and > omissions are also my fault, so if you notice them, please let me know. > > The executive summary: clang compiles mostly faster than gcc (sometimes > much faster), and uses significantly less memory. The benchmark is somewhat meaningless if one does not know the options that were used during the testing. -- Steve