From owner-freebsd-performance@FreeBSD.ORG  Fri Feb  8 22:38:33 2008
Return-Path: <owner-freebsd-performance@FreeBSD.ORG>
Delivered-To: freebsd-performance@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6883916A46E
	for <freebsd-performance@freebsd.org>;
	Fri,  8 Feb 2008 22:38:33 +0000 (UTC)
	(envelope-from gofp-freebsd-performance@m.gmane.org)
Received: from ciao.gmane.org (main.gmane.org [80.91.229.2])
	by mx1.freebsd.org (Postfix) with ESMTP id D27D513C4EE
	for <freebsd-performance@freebsd.org>;
	Fri,  8 Feb 2008 22:38:32 +0000 (UTC)
	(envelope-from gofp-freebsd-performance@m.gmane.org)
Received: from list by ciao.gmane.org with local (Exim 4.43)
	id 1JNbra-00030f-5Z
	for freebsd-performance@freebsd.org; Fri, 08 Feb 2008 22:38:30 +0000
Received: from 78-0-94-116.adsl.net.t-com.hr ([78.0.94.116])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <freebsd-performance@freebsd.org>; Fri, 08 Feb 2008 22:38:30 +0000
Received: from ivoras by 78-0-94-116.adsl.net.t-com.hr with local (Gmexim 0.1
	(Debian)) id 1AlnuQ-0007hv-00
	for <freebsd-performance@freebsd.org>; Fri, 08 Feb 2008 22:38:30 +0000
X-Injected-Via-Gmane: http://gmane.org/
To: freebsd-performance@freebsd.org
From: Ivan Voras <ivoras@freebsd.org>
Date: Fri, 08 Feb 2008 23:38:12 +0100
Lines: 45
Message-ID: <foill0$dfn$1@ger.gmane.org>
References: <4796C717.9000507@cederstrand.dk>	<20080123193400.N63024@fledge.watson.org>	<4797A245.7080202@cederstrand.dk>	<20080123202433.E63024@fledge.watson.org>	<4797A802.8060509@FreeBSD.org>
	<47A0BFE7.4070708@cederstrand.dk>	<20080130190000.GA18333@lor.one-eyed-alien.net>	<47AC15A5.5020009@cederstrand.dk>	<20080208151756.GA35423@lor.one-eyed-alien.net>	<foibab$a2g$1@ger.gmane.org>	<9D27D745-2465-4FB2-B7E0-3C5DD411E9B9@mac.com>	<foieub$mj6$1@ger.gmane.org>
	<967A7CF9-D9FE-454F-92E1-68D21CBDFA5E@mac.com>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="------------enig3936F310693C58B92DFA45C0"
X-Complaints-To: usenet@ger.gmane.org
X-Gmane-NNTP-Posting-Host: 78-0-94-116.adsl.net.t-com.hr
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
In-Reply-To: <967A7CF9-D9FE-454F-92E1-68D21CBDFA5E@mac.com>
X-Enigmail-Version: 0.95.6
Sender: news <news@ger.gmane.org>
Subject: Re: Performance Tracker project update
X-BeenThere: freebsd-performance@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Performance/tuning <freebsd-performance.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-performance>,
	<mailto:freebsd-performance-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-performance>
List-Post: <mailto:freebsd-performance@freebsd.org>
List-Help: <mailto:freebsd-performance-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-performance>,
	<mailto:freebsd-performance-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Feb 2008 22:38:33 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig3936F310693C58B92DFA45C0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Chuck Swiger wrote:
> On Feb 8, 2008, at 12:43 PM, Ivan Voras wrote:
>>> Historically, the Python optimizer wasn't capable of doing much,=20
>>> true, but the more recent versions of the optimizer can actually do=20
>>> some peephole optimizations like algorithmic simplification and=20
>>> constant folding:
>>> http://docs.python.org/whatsnew/other-lang.html#SECTION00013200000000=
00000000=20
>>>
>>
>> A quick test with the built-in pystone mini-benchmark (taken out of=20
>> the standard library so the optimization can be varied) yields [*]:
>>
>> python without -O : 5802.36
>> python with -O : 5781.39
>=20
> That's ~ 0.4% difference, or low enough to be lost in the noise, agreed=
=2E

Ah sorry, fatal omission: that's loops per second, and it's consistent=20
across several runs of with and without -O. I.e. I'm getting _lower_=20
performance with -O :)



--------------enig3936F310693C58B92DFA45C0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHrNneldnAQVacBcgRAuIQAKDPeP3WnYpCnSbOl1XC6jqssBW9gwCgoohu
AOsbWifo85uNFlEf7gRXz+A=
=22ja
-----END PGP SIGNATURE-----

--------------enig3936F310693C58B92DFA45C0--