From owner-freebsd-current@FreeBSD.ORG Tue Sep 4 21:59:48 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07D8910656D8 for ; Tue, 4 Sep 2012 21:59:48 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id B6DE58FC16 for ; Tue, 4 Sep 2012 21:59:47 +0000 (UTC) Received: from [192.168.0.6] (spaceball.home.andric.com [192.168.0.6]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 255F75C44; Tue, 4 Sep 2012 23:59:41 +0200 (CEST) Message-ID: <504679CB.90204@andric.com> Date: Tue, 04 Sep 2012 23:59:39 +0200 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20120828 Thunderbird/16.0 MIME-Version: 1.0 To: Steve Kargl References: <5046670C.6050500@andric.com> <20120904214344.GA17723@troutmask.apl.washington.edu> In-Reply-To: <20120904214344.GA17723@troutmask.apl.washington.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:59:48 -0000 On 2012-09-04 23:43, Steve Kargl wrote: > 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 benchmark is somewhat meaningless if one does not > know the options that were used during the testing. If you meant the compilation options, those were simply the FreeBSD defaults for all tested programs, e.g. "-O2 -pipe", except for boost, which uses "-ftemplate-depth-128 -O3 -finline-functions". I will add some explicit notes about them.