MacPython/MacModelPerformance

Legacy Wiki Page

This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.

This page collects some pystone numbers for various Mac models. As bad as the pystone benchmark is as a useful figure of merit, my intent is as much to compare various Mac models as it is to compare different Python versions and implementations. (I’m in the market for a new laptop.) If you have some numbers for various Macs, please add row(s) to this table. Please at least use /usr/bin/python to run pystone, something like this:

/usr/bin/python /usr/lib/python2.3/test/pystone.py

(python2.3 will change according to version of Python shipped with your Mac. Run the command three times while your computer is otherwise idle then insert the largest pystone number in the table (rounded to the nearest pystone). /usr/lib/python2.3/test/pystone.py should work for all Python 2.x versions. If you report numbers for Python 3.0 you will have to use the pystone.py which comes with it.

Here’s a table for iPhone and iPod Touch devices. If you have a device which was jailbroken it’s likely that Python is available for it.