Ubuntu : Intel® Q6600® quad-core |
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.
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 |
| binary-trees | 1/2 | ± | ± | |
| n-body | ± | ± | ± | |
| chameneos-redux | ± | ± | ± | |
| regex-dna | ± | 2× | ± | |
| fannkuch | ± | ± | ± | |
| spectral-norm | ± | ± | ± | |
| fasta | ± | ± | ± | |
| k-nucleotide | ± | 2× | ± | |
| mandelbrot | 2× | 1/3 | 2× | |
| reverse-complement | 4× | 2× | ± | |
| pidigits | 5× | ± | ± | |
± read the measurements and then read the program source code.
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 |
|---|---|---|---|---|---|
| binary-trees | |||||
| Python 3 | 727.62 | 195.42 | 695,172 | 626 | 92% 91% 92% 97% |
| Python CPython | 1,045.71 | 296.77 | 674,488 | 626 | 85% 85% 86% 97% |
| n-body | |||||
| Python 3 | 1,522.88 | 1,522.81 | 4,000 | 1106 | 0% 0% 100% 0% |
| Python CPython | 1,508.59 | 1,508.52 | 2,940 | 1105 | 100% 0% 0% 0% |
| chameneos-redux | |||||
| Python 3 | 308.50 | 248.12 | 4,148 | 866 | 30% 30% 31% 30% |
| Python CPython | 288.54 | 237.53 | 3,020 | 869 | 39% 33% 17% 27% |
| regex-dna | |||||
| Python 3 | 32.36 | 32.36 | 382,112 | 349 | 100% 0% 0% 0% |
| Python CPython | 29.22 | 29.22 | 191,156 | 342 | 0% 100% 0% 0% |
| fannkuch | |||||
| Python 3 | 4,887.63 | 4,887.36 | 3,964 | 400 | 21% 0% 0% 79% |
| Python CPython | 4,355.80 | 4,355.54 | 2,812 | 387 | 100% 0% 0% 0% |
| spectral-norm | |||||
| Python 3 | 1,382.96 | 351.34 | 25,384 | 437 | 98% 98% 99% 99% |
| Python CPython | 1,150.52 | 296.88 | 20,744 | 428 | 95% 96% 97% 100% |
| fasta | |||||
| Python 3 | 294.57 | 294.60 | 4,004 | 788 | 1% 27% 73% 0% |
| Python CPython | 234.29 | 234.32 | 2,852 | 779 | 4% 26% 37% 34% |
| k-nucleotide | |||||
| Python 3 | 617.29 | 204.52 | 842,860 | 577 | 77% 54% 94% 72% |
| Python CPython | 415.27 | 144.14 | 439,968 | 520 | 56% 88% 50% 96% |
| mandelbrot | |||||
| Python 3 | 3,278.73 | 1,367.05 | 5,504 | 777 | 47% 100% 47% 47% |
| Python CPython | 3,115.98 | 779.18 | 18,824 | 425 | 100% 100% 100% 100% |
| reverse-complement | |||||
| Python 3 | 31.83 | 31.83 | 1,021,976 | 294 | 0% 100% 0% 0% |
| Python CPython | 7.64 | 7.64 | 538,340 | 288 | 100% 0% 0% 0% |
| pidigits | |||||
| Python 3 | 36.57 | 36.57 | 4,620 | 437 | 0% 0% 100% 0% |
| Python CPython | 7.40 | 7.40 | 5,528 | 476 | 0% 0% 100% 0% |
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