/mobile Handheld Friendly website

÷

 Step 1 : Are the Haskell GHC programs faster? At a glance.

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 Java 7 -server program.


Look at speed another way - look at a box plot of Time-used data.

 Step 2 : Are the Haskell GHC programs faster? Approximately.

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 Java 7 -server program.

 Haskell GHC used what fraction? used how many times more? 
Benchmark Time Memory Code
 pidigits1/21/31/3
 reverse-complement±1/4±
 spectral-norm±1/14±
 n-body±1/8±
 binary-trees±1/3±
 regex-dna±1/2±
 fasta±1/7±
 fannkuch-redux1/13±
 mandelbrot1/2±
 k-nucleotide±±
 Haskell GHC used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/21/2±±

± 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 ~ speed and size.

For each named benchmark, measurements of the fastest Haskell GHC program are shown for comparison against measurements of the fastest Java 7 -server program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 pidigits 
Haskell GHC3.093.105,428341  0% 1% 0% 100%
Java 7 -server5.445.4416,944938  0% 0% 0% 100%
 reverse-complement 
Haskell GHC1.641.65125,740999  1% 1% 0% 100%
Java 7 -server1.871.90511,340745  1% 1% 0% 100%
 spectral-norm 
Haskell GHC15.7015.701,044984  0% 0% 0% 100%
Java 7 -server16.2116.2114,860950  0% 0% 0% 100%
 n-body 
Haskell GHC26.0426.051,8321695  0% 0% 0% 100%
Java 7 -server24.3224.3313,7441424  0% 0% 0% 100%
 binary-trees 
Haskell GHC19.4019.42183,412612  0% 0% 0% 100%
Java 7 -server15.6415.68506,672603  0% 0% 0% 100%
 regex-dna 
Haskell GHC28.0728.10246,9201518  0% 0% 0% 100%
Java 7 -server21.5821.61557,6121284  0% 0% 0% 100%
 fasta 
Haskell GHC7.087.082,0841421  0% 0% 0% 100%
Java 7 -server4.924.9214,8281507  1% 0% 0% 100%
 fannkuch-redux 
Haskell GHC116.46116.491,0441153  0% 0% 0% 100%
Java 7 -server71.2771.2913,8561282  0% 0% 0% 100%
 mandelbrot 
Haskell GHC58.6158.6336,148782  0% 0% 0% 100%
Java 7 -server26.8626.8767,760796  0% 0% 0% 100%
 k-nucleotide 
Haskell GHC84.9285.02365,5762749  0% 0% 0% 100%
Java 7 -server33.8133.93336,3882431  0% 0% 0% 100%
 fasta-redux 
No program
Java 7 -server0.110.11?1443  0% 0% 0% 100%

 Step 4 : Are there other Haskell GHC programs for these benchmarks?

Remember - those are just the fastest Haskell GHC and Java 7 -server 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.

 Step 5 : Are there other faster programs for these benchmarks?

Remember - those are just the fastest Haskell GHC and Java 7 -server 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.

 Haskell GHC : lazy pure functional programming 

llvm version 2.9 (Ubuntu 2.9+dfsg-3ubuntu4)

The Glorious Glasgow Haskell Compilation System, version 7.4.1

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

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

Revised BSD license

  Home   Conclusions   License   Help