÷

 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
 pidigits1/21/31/3
 regex-dna1/21/6 50,000
 spectral-norm±1/10±
 reverse-complement±±
 binary-trees±1/2±
 fannkuch±1/4±
 mandelbrot±1/2±
 chameneos-redux±1/221/2
 n-body±1/7±
 k-nucleotide±
 fasta1/8±

± 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
 pidigits 
Haskell GHC3.713.715,440331  0% 0% 1% 100%
Java 6 -server6.936.9618,020938  0% 0% 0% 100%
 regex-dna N = 50,000 reduced workload 
Haskell GHC0.350.364,8001672  0% 0% 0% 97%
Java 6 -server0.590.6530,120921  0% 0% 2% 94%
 spectral-norm 
Haskell GHC15.9515.951,512737  0% 0% 0% 100%
Java 6 -server16.6116.6215,868514  0% 0% 0% 100%
 reverse-complement 
Haskell GHC2.652.66618,196913  0% 0% 0% 100%
Java 6 -server2.662.71475,772592  0% 1% 0% 97%
 binary-trees 
Haskell GHC19.6519.65329,080544  0% 0% 0% 100%
Java 6 -server18.5118.55565,112603  0% 0% 0% 100%
 fannkuch 
Haskell GHC80.4180.414,4121204  0% 0% 0% 100%
Java 6 -server72.6872.6817,4601150  0% 0% 0% 100%
 mandelbrot 
Haskell GHC49.7249.7240,944772  0% 0% 0% 100%
Java 6 -server41.2841.2966,940903  0% 0% 0% 100%
 chameneos-redux 
Haskell GHC4.724.731,884789  0% 0% 0% 100%
Java 6 -server3.883.9141,2801756  0% 0% 0% 99%
 n-body 
Haskell GHC31.4431.442,0561687  0% 0% 0% 100%
Java 6 -server23.1823.1815,0881424  0% 0% 0% 100%
 k-nucleotide 
Haskell GHC107.98107.98433,2762749  1% 1% 1% 100%
Java 6 -server55.7555.78368,4241602  0% 0% 0% 100%
 fasta 
Haskell GHC17.2517.241,9041096  0% 0% 0% 100%
Java 6 -server8.338.3614,5801240  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