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 Clean 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 Clean program.
| Haskell GHC used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | |
| nsieve | 1/2 | 1/4 | ± | |
| nsieve-bits | ± | ± | ± | |
| pidigits | ± | ± | ± | |
| spectral-norm | ± | ± | ± | |
| partial-sums | ± | 2× | ± | |
| mandelbrot | ± | 2× | ± | |
| reverse-complement | ± | ± | ± | |
| fasta | ± | 1/2 | ± | |
| k-nucleotide | 2× | 2× | ± | |
| fannkuch | 2× | 2× | ± | |
| recursive | 3× | 2× | ± | |
| n-body | 3× | 3× | ± | |
| binary-trees | 3× | ± | ± | |
± 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 Clean program.
| Program Source Code | CPU secs | Elapsed secs | Memory KB | Code B | ≈ CPU Load |
|---|---|---|---|---|---|
| nsieve | |||||
| Haskell GHC | 1.00 | 2,140 | 340 | ||
| Clean | 2.08 | 9,324 | 394 | ||
| nsieve-bits | |||||
| Haskell GHC | 0.68 | 1,988 | 388 | ||
| Clean | 1.02 | 1,564 | 464 | ||
| pidigits | |||||
| Haskell GHC | 0.11 | 1,492 | 377 | ||
| Clean | 0.12 | 1,736 | 563 | ||
| spectral-norm | |||||
| Haskell GHC | 24.82 | 964 | 737 | ||
| Clean | 27.32 | 1,404 | 572 | ||
| partial-sums | |||||
| Haskell GHC | 4.36 | 864 | 476 | ||
| Clean | 4.18 | 508 | 577 | ||
| mandelbrot | |||||
| Haskell GHC | 0.23 | 952 | 627 | ||
| Clean | 0.22 | 472 | 506 | ||
| reverse-complement | |||||
| Haskell GHC | 1.27 | 64,192 | 915 | ||
| Clean | 1.20 | 43,080 | 834 | ||
| fasta | |||||
| Haskell GHC | 31.42 | 1,516 | 1406 | ||
| Clean | 28.77 | 2,820 | 1420 | ||
| k-nucleotide | |||||
| Haskell GHC | 28.56 | 164,712 | 1767 | ||
| Clean | 13.61 | 78,032 | 1511 | ||
| fannkuch | |||||
| Haskell GHC | 0.13 | 968 | 1005 | ||
| Clean | 0.06 | 488 | 925 | ||
| recursive | |||||
| Haskell GHC | 0.65 | 988 | 447 | ||
| Clean | 0.23 | 480 | 422 | ||
| n-body | |||||
| Haskell GHC | 48.72 | 1,648 | 1687 | ||
| Clean | 17.28 | 520 | 1587 | ||
| binary-trees | |||||
| Haskell GHC | 3.07 | 6,192 | 510 | ||
| Clean | 1.08 | 8,748 | 538 | ||
| chameneos-redux | |||||
| Haskell GHC | 0.14 | 1,500 | 789 | ||
| regex-dna | |||||
| Haskell GHC | |||||
Remember - those are just the fastest Haskell GHC and Clean 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 Clean 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/