/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/31/101/5
 reverse-complement±1/4±
 spectral-norm±1/13
 fannkuch-redux±1/14±
 n-body±1/8±
 regex-dna±1/2±
 binary-trees±±±
 fasta±1/8±
 mandelbrot1/2±
 k-nucleotide1/2±
 Haskell GHC used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/31/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 ~ 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 GHC2.262.265,524341  0% 0% 0% 100%
Java 7 -server6.006.0153,7681826  1% 0% 0% 100%
 reverse-complement 
Haskell GHC1.561.56126,088999  0% 2% 1% 99%
Java 7 -server1.791.83514,512745  2% 1% 2% 100%
 spectral-norm 
Haskell GHC16.1716.181,432984  0% 0% 0% 100%
Java 7 -server16.9917.0018,244514  0% 0% 0% 100%
 fannkuch-redux 
Haskell GHC71.9271.941,2041153  0% 0% 0% 100%
Java 7 -server69.9669.9917,0201282  0% 0% 0% 100%
 n-body 
Haskell GHC25.2225.232,2201695  0% 0% 0% 100%
Java 7 -server22.5122.5116,9401424  0% 0% 0% 100%
 regex-dna 
Haskell GHC28.8328.86329,3881518  0% 0% 0% 100%
Java 7 -server22.9523.00561,4361284  0% 0% 0% 100%
 binary-trees 
Haskell GHC24.4624.51352,880612  0% 0% 0% 100%
Java 7 -server16.4416.48499,416603  0% 0% 0% 100%
 fasta 
Haskell GHC7.777.782,2121421  0% 0% 0% 100%
Java 7 -server5.185.1918,0441507  1% 0% 1% 100%
 mandelbrot 
Haskell GHC44.0844.0940,488782  0% 0% 0% 100%
Java 7 -server23.7423.7569,696796  0% 0% 0% 100%
 k-nucleotide 
Haskell GHC94.2794.36342,9242749  0% 0% 0% 100%
Java 7 -server29.0229.10521,8202431  0% 0% 0% 100%
 fasta-redux 
No program
Java 7 -server0.120.12?1443  0% 8% 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