[Pythonmac-SIG] 2.4.3 performance, Macbook Pro vs iBook G4 12"
Bob Ippolito
bob at redivi.com
Fri Apr 7 07:00:42 CEST 2006
On Apr 6, 2006, at 9:44 PM, Alex Martelli wrote:
> I'm wondering about comparative performance -- shouldn't a Macbook
> Pro 2.0 GHz be VASTLY faster than a humble iBook G4 12" (1.33 GHz PPC
> G4)?
>
> And yet, pybench 1.0 tells me: 7806 ms on the iBook, 7721 on the
> Macbook; also, the iBook measures at 22026 pystones/sec, the Macbook
> at 22624. That's with 2.4.3 on both. Am I doing something wrong,
> are there problems with the recent 2.4.3 Universal release, or are
> the two machines REALLY that close...?!
Make sure that the universal build is actually running i386. If you
are running a python binary compiled PPC that happens to link to the
universal framework, it's going to start up PPC under Rosetta. I'm
not going to have an Intel machine for probably another few weeks so
I can't test these things.
You should see *exactly* the following output with a correctly
installed universal build (with of course a different platform string):
% lipo -info `which python`
Architectures in the fat file: /Library/Frameworks/Python.framework/
Versions/Current/bin/python are: ppc i386
% lipo -info /Library/Frameworks/Python.framework/Python
Architectures in the fat file: /Library/Frameworks/Python.framework/
Python are: ppc i386
% python -mplatform
Darwin-8.6.0-Power_Macintosh-powerpc-32bit
-bob
More information about the Pythonmac-SIG
mailing list