<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">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.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>-bob</DIV><DIV><BR><DIV><DIV>On Apr 6, 2006, at 10:38 PM, Paul Berkowitz wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> <FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px">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.<BR> <BR> -- <BR> Paul Berkowitz<BR> <BR> <BR> <HR align="CENTER" size="3" width="95%"><B>From: </B>Bob Ippolito <<A href="mailto:bob@redivi.com">bob@redivi.com</A>><BR> <B>Date: </B>Thu, 6 Apr 2006 22:34:26 -0700<BR> <B>To: </B>Ted Leung <<A href="mailto:twl@sauria.com">twl@sauria.com</A>><BR> <B>Cc: </B><<A href="mailto:pythonmac-sig@python.org">pythonmac-sig@python.org</A>><BR> <B>Subject: </B>Re: [Pythonmac-SIG] 2.4.3 Python Universal Binary Pystone Comparison<BR> <BR> Ok, I see what the problem is, because the Universal python is also half as fast on my PPC.<BR> <BR> 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.<BR> <BR> # universal<BR> OPT= -DNDEBUG -g<BR> <BR> # normal<BR> OPT= -DNDEBUG -g -O3 -Wall -Wstrict-prototypes<BR> <BR> -bob<BR> <BR> On Apr 6, 2006, at 10:04 PM, Ted Leung wrote:<BR> <BR> </SPAN></FONT><BLOCKQUOTE type="cite"><FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px">I just realized that I only sent this to Shane, so for the whole list (and Alex)<BR> <BR> Hmm. Here's three of those...<BR> <BR> [sprout:2065]> ./python.exe -c "from test.pystone import pystones; print pystones()"<BR> (1.22, 40983.606557377047)<BR> =============================================================== 2006-04-06 18:06<BR> [sprout:2065]> ./python.exe -c "from test.pystone import pystones; print pystones()"<BR> (1.23, 40650.406504065038)<BR> =============================================================== 2006-04-06 18:06<BR> [sprout:2065]> ./python.exe -c "from test.pystone import pystones; print pystones()"<BR> (1.22, 40983.606557377047)<BR> <BR> <BR> <BR> On Apr 6, 2006, at 5:08 PM, Shane Holloway (IEEE) wrote:<BR> <BR> </SPAN></FONT><BLOCKQUOTE type="cite"><FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px">Nice. Very jealous about the Intel MacBook Pros. :) You both better put them to good use! ;)<BR> <BR> Have either of you tried building the 2.4 release branch and running pystones from it?<BR> <BR> For those reading who may not know how from Terminal::<BR> <BR> </SPAN></FONT><FONT face="Monaco, Courier New"><SPAN style="font-size:11.0px">svn co <A href="http://svn.python.org/projects/python/branches/release24-maint">http://svn.python.org/projects/python/branches/release24-maint</A> py-24<BR> cd py-24<BR> ./configure<BR> make<BR> ./python.exe -c "from test.pystone import pystones; print pystones()"<BR> </SPAN></FONT><FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px"><BR> <BR> On Apr 6, 2006, at 16:15, Jordan Mantha wrote:<BR> <BR> </SPAN></FONT><BLOCKQUOTE type="cite"><FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px">And here is mine on a 1.83GHz 17" Intel iMac:<BR> <BR> $ python -V<BR> Python 2.4.3<BR> <BR> $ python -c "from test.pystone import pystones; print pystones()"<BR> (1.99, 25125.628140703517)<BR> <BR> -Jordan Mantha<BR> <BR> <BR> On Apr 6, 2006, at 2:36 PM, Ted Leung wrote:<BR> <BR> </SPAN></FONT><BLOCKQUOTE type="cite"><FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px">FWIW here are 3 runs from 1.83GHz MacBook Pro....<BR> <BR> [sprout:2132]> /Library/Frameworks/Python.framework/Versions/2.4/bin/python -c "from test.pystone import pystones; print pystones()"<BR> (2.0400000000000005, 24509.803921568622)<BR> =============================================================== 2006-04-06 14:35[sprout:2132]> /Library/Frameworks/Python.framework/Versions/2.4/bin/python -c "from test.pystone import pystones; print pystones()"<BR> (2.0299999999999998, 24630.541871921185)<BR> =============================================================== 2006-04-06 14:35[sprout:2132]> /Library/Frameworks/Python.framework/Versions/2.4/bin/python -c "from test.pystone import pystones; print pystones()"<BR> (2.0800000000000005, 24038.461538461532)<BR> <BR> Ted<BR> <BR> <BR> On Apr 6, 2006, at 1:39 PM, Shane Holloway (IEEE) wrote:<BR> <BR> </SPAN></FONT><BLOCKQUOTE type="cite"><FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px">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.<BR> <BR> Also, are there build instructions for creating the Universal Packaging?<BR> <BR> Thanks,<BR> -Shane Holloway<BR> <BR> <BR> <BR> >From the Universal Build installed python::<BR> <BR> </SPAN></FONT><FONT face="Monaco, Courier New"><SPAN style="font-size:11.0px">[shane@dynamic-46] ~% /Library/Frameworks/Python.framework/Versions/2.4/bin/python -V<BR> Python 2.4.3<BR> [shane@dynamic-46] ~% /Library/Frameworks/Python.framework/Versions/2.4/bin/python -c "from test.pystone import pystones; print pystones()"<BR> (3.79, 13192.612137203167)<BR> </SPAN></FONT><FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px"><BR> <BR> <BR> >From the release24-maint branch built on my box::<BR> <BR> </SPAN></FONT><FONT face="Monaco, Courier New"><SPAN style="font-size:11.0px">[shane@dynamic-46] python/py-24% svn info<BR> Path: .<BR> URL: <A href="http://svn.python.org/projects/python/branches/release24-maint">http://svn.python.org/projects/python/branches/release24-maint</A><BR> Repository UUID: 6015fed2-1504-0410-9fe1-9d1591cc4771<BR> Revision: 43662<BR> Node Kind: directory<BR> Schedule: normal<BR> Last Changed Author: martin.v.loewis<BR> Last Changed Rev: 43618<BR> Last Changed Date: 2006-04-04 00:08:17 -0600 (Tue, 04 Apr 2006)<BR> Properties Last Updated: 2006-04-03 14:39:26 -0600 (Mon, 03 Apr 2006)<BR> <BR> [shane@dynamic-46] python/py-24% ./python.exe -V<BR> Python 2.4.4c0<BR> [shane@dynamic-46] python/py-24% ./python.exe -c "from test.pystone import pystones; print pystones()"<BR> (1.5799999999999998, 31645.569620253169)<BR> <BR> </SPAN></FONT><FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px">_______________________________________________<BR> Pythonmac-SIG maillist - <A href="mailto:Pythonmac-SIG@python.org">Pythonmac-SIG@python.org</A><BR> <A href="http://mail.python.org/mailman/listinfo/pythonmac-sig">http://mail.python.org/mailman/listinfo/pythonmac-sig</A><BR> <BR> </SPAN></FONT></BLOCKQUOTE><FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px"><BR> <BR> ----<BR> Ted Leung Blog: <A href="http://www.sauria.com/blog"><http://www.sauria.com/blog></A><BR> This message is: [ ] bloggable [x] ask first [ ] private<BR> <BR> <BR> <BR> _______________________________________________<BR> Pythonmac-SIG maillist - <A href="mailto:Pythonmac-SIG@python.org">Pythonmac-SIG@python.org</A><BR> <A href="http://mail.python.org/mailman/listinfo/pythonmac-sig">http://mail.python.org/mailman/listinfo/pythonmac-sig</A><BR> <BR> </SPAN></FONT></BLOCKQUOTE><FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px"><BR> _______________________________________________<BR> Pythonmac-SIG maillist - <A href="mailto:Pythonmac-SIG@python.org">Pythonmac-SIG@python.org</A><BR> <A href="http://mail.python.org/mailman/listinfo/pythonmac-sig">http://mail.python.org/mailman/listinfo/pythonmac-sig</A><BR> <BR> </SPAN></FONT></BLOCKQUOTE><FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px"><BR> </SPAN></FONT></BLOCKQUOTE><FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px"><BR> <BR> ----<BR> Ted Leung Blog: <A href="http://www.sauria.com/blog"><http://www.sauria.com/blog></A><BR> This message is: [ ] bloggable [x] ask first [ ] private<BR> <BR> <BR> <BR> _______________________________________________<BR> Pythonmac-SIG maillist - <A href="mailto:Pythonmac-SIG@python.org">Pythonmac-SIG@python.org</A><BR> <A href="http://mail.python.org/mailman/listinfo/pythonmac-sig">http://mail.python.org/mailman/listinfo/pythonmac-sig</A><BR> <BR> </SPAN></FONT></BLOCKQUOTE><FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px"><BR> <BR> <HR align="CENTER" size="3" width="95%"></SPAN></FONT><SPAN style="font-size:12.0px"><FONT face="Monaco, Courier New">_______________________________________________<BR> Pythonmac-SIG maillist - <A href="mailto:Pythonmac-SIG@python.org">Pythonmac-SIG@python.org</A><BR> <A href="http://mail.python.org/mailman/listinfo/pythonmac-sig">http://mail.python.org/mailman/listinfo/pythonmac-sig</A><BR> </FONT></SPAN><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Pythonmac-SIG maillist<SPAN class="Apple-converted-space"> </SPAN>-<SPAN class="Apple-converted-space"> </SPAN><A href="mailto:Pythonmac-SIG@python.org">Pythonmac-SIG@python.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://mail.python.org/mailman/listinfo/pythonmac-sig">http://mail.python.org/mailman/listinfo/pythonmac-sig</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>