÷

 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 Erlang HiPE program.


 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 Erlang HiPE program.

 Haskell GHC used what fraction? used how many times more? 
Benchmark Time Memory Code
 reverse-complement1/281/6
 mandelbrot1/91/5±
 spectral-norm1/71/8±
 recursive1/61/5±
 fasta1/51/3±
 fannkuch1/41/5±
 nsieve-bits1/41/3±
 nsieve1/31/6±
 n-body1/31/3±
 pidigits1/31/3±
 partial-sums1/21/5±
 chameneos-redux1/21/3±
 k-nucleotide±
 binary-trees±1/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 Erlang HiPE program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 reverse-complement 
Haskell GHC1.2764,192915  
Erlang HiPE35.27359,852452  
 mandelbrot 
Haskell GHC0.23952627  
Erlang HiPE2.094,644554  
 spectral-norm 
Haskell GHC24.82964737  
Erlang HiPE180.097,620547  
 recursive 
Haskell GHC0.65988447  
Erlang HiPE3.624,772392  
 fasta 
Haskell GHC31.421,5161406  
Erlang HiPE160.734,7801039  
 fannkuch 
Haskell GHC0.139681005  
Erlang HiPE0.504,768678  
 nsieve-bits 
Haskell GHC0.681,988388  
Erlang HiPE2.605,652414  
 nsieve 
Haskell GHC1.002,140340  
Erlang HiPE3.3913,320363  
 n-body 
Haskell GHC48.721,6481687  
Erlang HiPE147.594,7361399  
 pidigits 
Haskell GHC0.111,492377  
Erlang HiPE0.294,776559  
 partial-sums 
Haskell GHC4.36864476  
Erlang HiPE8.654,728488  
 chameneos-redux 
Haskell GHC11.931,528789  
Erlang HiPE20.364,744717  
 k-nucleotide 
Haskell GHC28.56164,7121767  
Erlang HiPE41.3683,260889  
 binary-trees 
Haskell GHC3.076,192510  
Erlang HiPE3.5818,096441  
 regex-dna 
Haskell GHCFailed
Erlang HiPE13.1640,256687  

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

Remember - those are just the fastest Haskell GHC and Erlang HiPE 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 Erlang HiPE 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 

Glasgow Haskell Compiler, Version 6.8.2, for Haskell 98, stage 2 booted by GHC version 6.8.2

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

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

Revised BSD license

  Home   Flawed   Fastest   License   Help