÷

 Step 1 : Are the Python 3 programs faster? At a glance.

This chart shows 3 comparisons - Time-used, Memory-used and Code-used.

Each chart bar shows, for one unidentified benchmark, how much the fastest Python 3 program used compared to the fastest Python CPython program.


 Step 2 : Are the Python 3 programs faster? Approximately.

This table shows 3 comparisons - Time-used, Memory-used and Code-used.

Each table row shows, for one named benchmark, how much the fastest Python 3 program used compared to the fastest Python CPython program.

 Python 3 used what fraction? used how many times more? 
Benchmark Time Memory Code Reduced N
 mandelbrot±1/3
 binary-trees±±±
 chameneos-redux±±±
 fannkuch±±±
 spectral-norm±±±
 n-body±±±
 regex-dna±±
 fasta±±±
 k-nucleotide±±
 reverse-complement±
 pidigits±±

± read the measurements and then read the program source code.

 Step 3 : Are the Python 3 programs faster? Measurements.

This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ~ CPU Load.

For each named benchmark, measurements of the fastest Python 3 program are shown for comparison against measurements of the fastest Python CPython program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ~ CPU Load
 mandelbrot 
Python 32,513.812,513.685,500777  0% 0% 0% 100%
Python CPython3,103.643,103.4518,844425  0% 0% 0% 100%
 binary-trees 
Python 3704.97704.93695,308626  0% 0% 0% 100%
Python CPython818.45818.40674,580626  0% 0% 0% 100%
 chameneos-redux 
Python 3150.30150.404,144866  0% 0% 0% 100%
Python CPython144.97145.063,016869  0% 0% 0% 100%
 fannkuch 
Python 34,599.184,598.923,964400  0% 0% 0% 100%
Python CPython4,311.654,311.442,812387  0% 0% 0% 100%
 spectral-norm 
Python 31,264.231,264.174,456366  0% 0% 0% 100%
Python CPython1,172.481,172.403,380378  0% 0% 0% 100%
 n-body 
Python 31,543.931,543.843,9961106  0% 0% 0% 100%
Python CPython1,416.101,416.022,9401105  0% 0% 0% 100%
 regex-dna 
Python 332.3732.37372,276349  0% 0% 0% 100%
Python CPython29.2229.22191,168342  0% 0% 0% 100%
 fasta 
Python 3295.05295.044,004788  0% 0% 0% 100%
Python CPython235.18235.252,856779  1% 1% 0% 100%
 k-nucleotide 
Python 3616.90616.86842,860563  0% 0% 0% 100%
Python CPython424.35425.39439,968520  0% 0% 0% 100%
 reverse-complement 
Python 331.7531.751,057,588294  0% 0% 0% 100%
Python CPython7.557.55503,668288  0% 0% 0% 100%
 pidigits 
Python 336.5736.574,620437  0% 0% 0% 100%
Python CPython7.407.405,528476  0% 0% 0% 100%

 Measurements for all the accepted programs

 Python 3 : the new Python 

Python 3.1.1 (r311:74480, Aug 24 2009, 12:09:28)
[GCC 4.3.3] on linux2

A new version of the Python "language that is incompatible with the 2.x line of releases".

Home Page: Python 3.1

Revised BSD license