OUT-OF-DATE! Read http://shootout.alioth.debian.org/ |
This chart shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.
Each chart bar shows, for one unidentified benchmark, how much the fastest Haskell GHC program used compared to the fastest Python CPython program.
This table shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.
Each table row shows, for one named benchmark, how much the fastest Haskell GHC program used compared to the fastest Python CPython program.
| Haskell GHC used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | |
| spectral-norm | 1/131 | 1/3 | 3× | |
| nsieve-bits | 1/51 | 1/2 | ± | |
| n-body | 1/41 | ± | 2× | |
| fannkuch | 1/41 | 1/2 | 2× | |
| recursive | 1/35 | 1/3 | ± | |
| mandelbrot | 1/25 | 1/31 | 2× | |
| chameneos-redux | 1/23 | 1/2 | ± | |
| fasta | 1/22 | 1/2 | 2× | |
| binary-trees | 1/22 | 1/3 | ± | |
| nsieve | 1/7 | 1/20 | ± | |
| reverse-complement | 1/2 | ± | 3× | |
| k-nucleotide | 1/2 | 7× | 4× | |
| partial-sums | 1/2 | 1/15 | ± | |
| pidigits | ± | ± | ± | |
± read the measurements and then read the program source code.
This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ≈ CPU Load ~ speed and size.
For each named benchmark, measurements of the fastest Haskell GHC program are shown for comparison against measurements of the fastest Python CPython program.
Remember - those are just the fastest Haskell GHC and Python CPython programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for Haskell GHC.
Maybe one of those other Haskell GHC programs is fastest on a different OS/machine.
Remember - those are just the fastest Haskell GHC and Python CPython programs measured on this OS/machine. Check if there are faster implementations of these benchmark programs for other programming languages.
Maybe one of those other programs is fastest on a different OS/machine.
Glasgow Haskell Compiler, Version 6.8.2, for Haskell 98, stage 2 booted by GHC version 6.8.2
Home Page: http://www.haskell.org/
Download: http://www.haskell.org/ghc/