÷

 Step 1 : Are the Haskell GHC 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 Haskell GHC program used compared to the fastest Java 6 -server program.


 Step 2 : Are the Haskell GHC 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 Haskell GHC program used compared to the fastest Java 6 -server program.

 Haskell GHC used what fraction? used how many times more? 
Benchmark Time Memory Code Reduced N
 chameneos-redux1/31/111/2
 pidigits±1/31/3
 spectral-norm±1/10±
 binary-trees±1/2±
 regex-dna±1/4
 reverse-complement±±
 mandelbrot±±
 k-nucleotide±
 fasta1/7±
 n-body1/7±
 fannkuch1/3±

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

 Step 3 : Are the Haskell GHC 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 Haskell GHC program are shown for comparison against measurements of the fastest Java 6 -server program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ~ CPU Load
 chameneos-redux 
Haskell GHC4.774.771,608789  0% 0% 0% 100%
Java 6 -server12.4512.4717,8761429  0% 0% 0% 100%
 pidigits 
Haskell GHC3.783.785,192331  0% 0% 1% 100%
Java 6 -server5.475.4714,828938  1% 3% 0% 100%
 spectral-norm 
Haskell GHC15.6915.691,220737  0% 0% 0% 100%
Java 6 -server15.9115.9312,564950  0% 0% 0% 100%
 binary-trees 
Haskell GHC33.1433.15169,016512  0% 0% 0% 100%
Java 6 -server28.2128.35255,460603  0% 0% 0% 99%
 regex-dna 
Haskell GHC37.2737.27170,9921672  0% 0% 0% 100%
Java 6 -server29.3529.37689,108929  0% 0% 0% 100%
 reverse-complement 
Haskell GHC4.024.02618,032913  0% 0% 0% 100%
Java 6 -server2.862.90473,280592  0% 1% 0% 99%
 mandelbrot 
Haskell GHC70.3070.3035,440772  1% 1% 1% 100%
Java 6 -server41.5641.5748,900903  0% 0% 0% 100%
 k-nucleotide 
Haskell GHC93.7993.79409,2162749  0% 0% 0% 100%
Java 6 -server46.9046.95351,0041602  0% 0% 0% 100%
 fasta 
Haskell GHC15.5615.561,6801096  0% 0% 0% 100%
Java 6 -server7.507.5112,2481240  0% 0% 0% 100%
 n-body 
Haskell GHC53.8253.821,7641687  0% 0% 0% 100%
Java 6 -server25.0525.0812,4121424  1% 0% 0% 100%
 fannkuch 
Haskell GHC154.78154.774,0361204  0% 0% 0% 100%
Java 6 -server66.7966.8313,7961150  0% 0% 0% 100%

 Measurements for all the accepted programs

 Haskell GHC : lazy pure functional programming 

The Glorious Glasgow Haskell Compilation System, version 6.10.3

Home Page: http://www.haskell.org/

Download: http://www.haskell.org/ghc/

Revised BSD license