It really has nothing to do with Xcode (or even GCC). This is all autoconf, but I'm pretty sure it was just that Ronald had an OPT environment variable set when he built it because I can't reproduce.
-bob On Apr 6, 2006, at 10:38 PM, Paul Berkowitz wrote: Maybe someone should ask on the Xcode mailing list. Almost every question is being answered there by the lead Xcode Tools Apple engineer, Chris Espinosa. -- Paul Berkowitz From: Bob Ippolito <[EMAIL PROTECTED]> Date: Thu, 6 Apr 2006 22:34:26 -0700 To: Ted Leung <[EMAIL PROTECTED]> Cc: <pythonmac-sig@python.org> Subject: Re: [Pythonmac-SIG] 2.4.3 Python Universal Binary Pystone Comparison Ok, I see what the problem is, because the Universal python is also half as fast on my PPC. It appears that the universal build is not using any compiler optimizations at all, where a normal build is -O3. I'm not quite sure where/why this is happening (autoconf is evil), but I'm sure someone will figure it out soon enough. # universal OPT= -DNDEBUG -g # normal OPT= -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -bob On Apr 6, 2006, at 10:04 PM, Ted Leung wrote: I just realized that I only sent this to Shane, so for the whole list (and Alex) Hmm. Here's three of those... [sprout:2065]> ./python.exe -c "from test.pystone import pystones; print pystones()" (1.22, 40983.606557377047) =============================================================== 2006-04-06 18:06 [sprout:2065]> ./python.exe -c "from test.pystone import pystones; print pystones()" (1.23, 40650.406504065038) =============================================================== 2006-04-06 18:06 [sprout:2065]> ./python.exe -c "from test.pystone import pystones; print pystones()" (1.22, 40983.606557377047) On Apr 6, 2006, at 5:08 PM, Shane Holloway (IEEE) wrote: Nice. Very jealous about the Intel MacBook Pros. :) You both better put them to good use! ;) Have either of you tried building the 2.4 release branch and running pystones from it? For those reading who may not know how from Terminal:: svn co http://svn.python.org/projects/python/branches/release24-maint py-24 cd py-24 ./configure make ./python.exe -c "from test.pystone import pystones; print pystones()" On Apr 6, 2006, at 16:15, Jordan Mantha wrote: And here is mine on a 1.83GHz 17" Intel iMac: $ python -V Python 2.4.3 $ python -c "from test.pystone import pystones; print pystones()" (1.99, 25125.628140703517) -Jordan Mantha On Apr 6, 2006, at 2:36 PM, Ted Leung wrote: FWIW here are 3 runs from 1.83GHz MacBook Pro.... [sprout:2132]> /Library/Frameworks/Python.framework/Versions/2.4/bin/python -c "from test.pystone import pystones; print pystones()" (2.0400000000000005, 24509.803921568622) =============================================================== 2006-04-06 14:35[sprout:2132]> /Library/Frameworks/Python.framework/Versions/2.4/bin/python -c "from test.pystone import pystones; print pystones()" (2.0299999999999998, 24630.541871921185) =============================================================== 2006-04-06 14:35[sprout:2132]> /Library/Frameworks/Python.framework/Versions/2.4/bin/python -c "from test.pystone import pystones; print pystones()" (2.0800000000000005, 24038.461538461532) Ted On Apr 6, 2006, at 1:39 PM, Shane Holloway (IEEE) wrote: I was just wondering if anyone else had compared pystones on their box? I downloaded the latest Universal Build from the python.org and found things to be a bit sluggish. So I ran the pystones test to quickly gauge things, and noticed that things are indeed running about 1/3 of what they should be. (Specific info from the Terminal below.) Anyone have ideas? They both appear to be built from GCC 4.0. Let me know what other information you need from me. Also, are there build instructions for creating the Universal Packaging? Thanks, -Shane Holloway >From the Universal Build installed python:: [EMAIL PROTECTED] ~% /Library/Frameworks/Python.framework/Versions/2.4/bin/python -V Python 2.4.3 [EMAIL PROTECTED] ~% /Library/Frameworks/Python.framework/Versions/2.4/bin/python -c "from test.pystone import pystones; print pystones()" (3.79, 13192.612137203167) >From the release24-maint branch built on my box:: [EMAIL PROTECTED] python/py-24% svn info Path: . URL: http://svn.python.org/projects/python/branches/release24-maint Repository UUID: 6015fed2-1504-0410-9fe1-9d1591cc4771 Revision: 43662 Node Kind: directory Schedule: normal Last Changed Author: martin.v.loewis Last Changed Rev: 43618 Last Changed Date: 2006-04-04 00:08:17 -0600 (Tue, 04 Apr 2006) Properties Last Updated: 2006-04-03 14:39:26 -0600 (Mon, 03 Apr 2006) [EMAIL PROTECTED] python/py-24% ./python.exe -V Python 2.4.4c0 [EMAIL PROTECTED] python/py-24% ./python.exe -c "from test.pystone import pystones; print pystones()" (1.5799999999999998, 31645.569620253169) _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig ---- Ted Leung Blog: <http://www.sauria.com/blog> This message is: [ ] bloggable [x] ask first [ ] private _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig ---- Ted Leung Blog: <http://www.sauria.com/blog> This message is: [ ] bloggable [x] ask first [ ] private _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig _______________________________________________ |