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.

Model

CPU

Speed

Mac OS X Version

Python version

Pystones

Reporter

PowerBook

G4

800MHz

10.4.11

/usr/bin/python (2.3.5)

11905

SkipMontanaro

PowerBook

G4

800MHz

10.4.11

python from source (2.2.3+)

10776

SkipMontanaro

PowerBook

G4

800MHz

10.4.11

python from source (2.4.4)

14663

SkipMontanaro

PowerBook

G4

800MHz

10.4.11

python from source (2.5.2a0)

15625

SkipMontanaro

PowerBook

G4

800MHz

10.4.11

python from source (2.6a0)

15384

SkipMontanaro

PowerBook

G4

800MHz

10.4.11

python from source (3.0a2)

11338

SkipMontanaro

Power Mac

2xG5

2GHz

10.4.11

/usr/bin/python (2.3.5)

28410

SkipMontanaro

Power Mac

2xG5

2GHz

10.4.11

python from source (2.6a0, 32-bit)

35461

SkipMontanaro

Power Mac

2xG5

2GHz

10.4.11

python from source (2.6a0, 64-bit)

37313

SkipMontanaro

Power Mac

2xG5

2GHz

10.5.6

/usr/bin/python (2.5.1 r251:54863)

30307.4

SkipMontanaro

MacBook Pro

Core 2 Duo

2.2GHz

10.4.11

/usr/bin/python (2.3.5)

38462

GaryBernhardt

MacBook Pro

Core 2 Duo

2.2GHZ

10.4.11

universal mac build (2.5.1)

49505

GaryBernhardt

MacBook Pro

Core 2 Duo

2.2GHz

10.5.1

/usr/bin/python (Python 2.5.1 (r251:54863))

46453.6

ThomasJuntunen

MacBook Pro

Core 2 Duo

2.2GHz

10.5.6

/usr/bin/python (Python 2.5.1 (r251:54863))

46776.1

SkipMontanaro

MacBook Pro

Core 2 Duo

2.2GHz

10.5.6

Python 2.6.1+ (release26-maint:70232)

51437.2

SkipMontanaro

MacBook Pro

Core 2 Duo

2.33GHz

10.5.1

/usr/bin/python (Python 2.5.2a0)

52083

RonaldOussoren

MacBook Pro

Core 2 Duo

2.33GHz

10.5.1

/usr/bin/python (Python 2.5.2a0, 64-bit)

60871

RonaldOussoren

MacBook Pro

Core 2 Duo

2.4GHz

10.5.1

/usr/bin/python (Leopard version)

49958

DavidReed

MacBook Pro

Core 2 Duo

2.4GHz

10.5.1

/usr/local/bin/python2.5 (python.org version)

54945

DavidReed

iMac

Core 2 Duo

2.4GHz

10.5.1

/usr/bin/python (2.5.1)

50613

KevinHorton

iMac

Core 2 Duo

2.4GHz

10.5.1

/sw/bin/python (2.5.1 from Fink Project)

55254

KevinHorton

iMac

Core 2 Duo

2.4GHz

10.5.1

universal mac build (2.5.1)

56180

CharlesMoad

iMac

Core 2 Duo

2.8GHz

10.5.1

/usr/bin/python (2.5.1)

59101.5

NicholasRiley

Mac Mini

Core Duo

1.66GHz

10.4.11

universal mac build (2.5.1)

37878.8

BlakeWinton

MacBook

Core 2 Duo

2Ghz

10.5.1

/usr/bin/python (2.5.1)

41593.7

JackJansen

Mac Pro

Quad-core Dual

3.0GHz

10.5.11

universal mac build (2.5.1)

63019.7

DanielLord

Mac Pro

Quad-core

2.66Ghz

10.5.1

/usr/bin/python (2.5.1)

62578.2

JackJansen

Mac Pro

Quad-core

2.66Ghz

10.4.11

universal mac build (2.5.1)

63291.1

NicholasRiley

Mac Book

Dual

2.16 GHz

10.5.1

universal 2.5.1

44578.2

BrianRay

MacBook Pro

Core 2 Duo

2.33 GHz

10.4.11

Python 2.4.4 (build 5341)

40650.4

EricLewin

MacBook Pro

Core 2 Duo

2.2 GHz

10.6.2

Python 2.6.1 (r261:67515)

58225

JoaoRodrigues

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.

iPod Touch 1G

ARM

412MHz(?)

iPhone OS (Firmware 2.2.1)

Python 2.5.1 (r251:54863)

1192.75

SkipMontanaro

iPod Touch 3G

ARM Cortex A8

600MHz

iPhone OS (Firmware 3.1.2)

Python 2.5.1

4717

JoaoRodrigues

MacPython/MacModelPerformance (last edited 2009-12-16 07:45:41 by 204-15-26-122)