÷

 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 Lua 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 Lua program.

 Haskell GHC used what fraction? used how many times more? 
Benchmark Time Memory Code
 nsieve-bits1/35±±
 spectral-norm1/29±
 fannkuch1/24±
 binary-trees1/181/6±
 mandelbrot1/13±
 n-body1/12±
 nsieve1/111/46±
 recursive1/8±±
 reverse-complement1/7±
 fasta1/7±
 pidigits1/51/41/2
 partial-sums1/2±±
 k-nucleotide±

± 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 Lua program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 nsieve-bits 
Haskell GHC0.681,988388  
Lua23.632,512426  
 spectral-norm 
Haskell GHC24.82964737  
Lua727.881,100328  
 fannkuch 
Haskell GHC0.139681005  
Lua3.21864469  
 binary-trees 
Haskell GHC3.076,192510  
Lua55.6934,464470  
 mandelbrot 
Haskell GHC0.23952627  
Lua3.02868367  
 n-body 
Haskell GHC48.721,6481687  
Lua586.858721265  
 nsieve 
Haskell GHC1.002,140340  
Lua10.9399,276258  
 recursive 
Haskell GHC0.65988447  
Lua4.86992330  
 reverse-complement 
Haskell GHC1.2764,192915  
Lua8.8543,000538  
 fasta 
Haskell GHC31.421,5161406  
Lua213.66904993  
 pidigits 
Haskell GHC0.111,492377  
Lua0.595,324684  
 partial-sums 
Haskell GHC4.36864476  
Lua7.45900437  
 k-nucleotide 
Haskell GHC28.56164,7121767  
Lua35.4338,248613  
 regex-dna 
Haskell GHCFailed
Lua1.885,588427  
 chameneos-redux 
Haskell GHC0.141,500789  
No program

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

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