From owner-freebsd-performance@FreeBSD.ORG Fri Feb 8 20:44:11 2008 Return-Path: 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 EDEAD16A419 for ; Fri, 8 Feb 2008 20:44:10 +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 63A2713C457 for ; Fri, 8 Feb 2008 20:44:10 +0000 (UTC) (envelope-from gofp-freebsd-performance@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JNa4s-0005Nq-3m for freebsd-performance@freebsd.org; Fri, 08 Feb 2008 20:44:06 +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 ; Fri, 08 Feb 2008 20:44:06 +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 ; Fri, 08 Feb 2008 20:44:06 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-performance@freebsd.org From: Ivan Voras Date: Fri, 08 Feb 2008 21:43:48 +0100 Lines: 53 Message-ID: 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> <9D27D745-2465-4FB2-B7E0-3C5DD411E9B9@mac.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig474760FAE99CF3CD10855972" 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: <9D27D745-2465-4FB2-B7E0-3C5DD411E9B9@mac.com> X-Enigmail-Version: 0.95.6 Sender: news Subject: Re: Performance Tracker project update X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2008 20:44:11 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig474760FAE99CF3CD10855972 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Chuck Swiger wrote: > Historically, the Python optimizer wasn't capable of doing much, true, = > but the more recent versions of the optimizer can actually do some=20 > peephole optimizations like algorithmic simplification and constant=20 > folding: >=20 > http://docs.python.org/whatsnew/other-lang.html#SECTION0001320000000000= 000000=20 A quick test with the built-in pystone mini-benchmark (taken out of the=20 standard library so the optimization can be varied) yields [*]: python without -O : 5802.36 python with -O : 5781.39 In both cases, the commands were: >>> import pystone >>> pystone.main(50000) on Python 2.5.1 (r251:54863, Jan 12 2008, 13:07:38) [GCC 4.2.1 20070719 [FreeBSD]] on freebsd7 I guess they still have to work on the optimizer :) [*] This is on a AMD Geode CPU (500 MHz), so don't compare it with=20 something normal :) --------------enig474760FAE99CF3CD10855972 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 iD8DBQFHrL8KldnAQVacBcgRAmPbAJ0QJPTNyNM06mSe6R0/bu+tCEQMWQCfbgsC 40aRAyafzCCINCty2CE2xew= =7ImO -----END PGP SIGNATURE----- --------------enig474760FAE99CF3CD10855972--