÷

 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.


 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/91/5
 chameneos-redux±1/201/2
 spectral-norm±1/7±
 reverse-complement±±
 binary-trees±±±
 fannkuch±1/4±
 mandelbrot±1/2±
 regex-dna±1/4
 n-body±1/7±
 fasta1/8±
 k-nucleotide±

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

 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  100% 0% 0% 0%
Java 6 -server14.155.7950,5081816  49% 60% 52% 56%
 chameneos-redux 
Haskell GHC7.027.022,108789  0% 0% 0% 100%
Java 6 -server12.578.6441,2881756  37% 45% 15% 40%
 spectral-norm 
Haskell GHC16.024.112,260869  96% 99% 96% 99%
Java 6 -server17.334.5115,208950  98% 95% 94% 97%
 reverse-complement 
Haskell GHC2.652.65618,196913  0% 1% 0% 100%
Java 6 -server2.712.67475,908592  3% 1% 94% 3%
 binary-trees 
Haskell GHC56.5217.76439,872544  77% 76% 78% 82%
Java 6 -server20.5316.18566,032603  13% 86% 16% 11%
 fannkuch 
Haskell GHC81.8621.044,4241204  95% 95% 95% 94%
Java 6 -server68.4719.0917,5841150  81% 97% 74% 99%
 mandelbrot 
Haskell GHC49.6912.5739,456772  99% 99% 98% 99%
Java 6 -server42.0210.6966,984903  98% 98% 98% 99%
 regex-dna 
Haskell GHC36.4412.93188,3361672  58% 88% 66% 63%
Java 6 -server26.6710.91681,824929  57% 68% 63% 55%
 n-body 
Haskell GHC31.4531.462,0481687  0% 0% 0% 100%
Java 6 -server23.1323.1315,1001424  0% 0% 0% 100%
 fasta 
Haskell GHC17.2517.251,9041096  0% 0% 100% 0%
Java 6 -server8.248.2215,1441240  0% 1% 0% 100%
 k-nucleotide 
Haskell GHC128.5856.53427,1282749  34% 72% 48% 42%
Java 6 -server49.2214.57480,4081602  79% 78% 98% 82%

 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