Compare the performance of Clean programs against some other language implementation.

For more information about the Clean implementation we measured see ↓ about Clean.

Compare to:

 Clean comparison summary


1/2 1/3 1/4 … Clean is better
Programs Time Memory Use Source Size Reduced N
chameneos-reduxNo program
regex-dnaNo program
k-nucleotide  No GNU g++
binary-trees±±±
fannkuch±1/22
n-body±±±
reverse-complement231± 2,500,000
fasta22±
pidigits52±
spectral-norm6±1/2
mandelbrot91/571/2

± look at the measurements

 Clean comparison measurements

Program & Logs CPU secs Memory KB Size B Elapsed secs ~ CPU Load
 binary-trees 
Clean #330.73131,59253930.73  0% 0% 0% 100%
C++ GNU g++ #240.8099,39655340.79  0% 0% 0% 100%
 fannkuch 
Clean69.0853292569.09  0% 100% 0% 0%
C++ GNU g++ #271.421,09255471.41  100% 0% 0% 0%
 n-body 
Clean28.61544158728.60  0% 100% 0% 0%
C++ GNU g++ #423.84788142823.84  1% 0% 100% 0%
 reverse-complement N = 2,500,000 reduced workload 
Clean0.3442,0248340.35  0% 97% 0% 0%
C++ GNU g++ #20.521,34810980.21  95% 41% 52% 50%
 fasta 
Clean13.911,568142013.91  0% 100% 0% 0%
C++ GNU g++ #46.0774412666.07  0% 100% 0% 0%
 pidigits 
Clean #213.732,84856313.73  0% 0% 0% 100%
C++ GNU g++ #32.711,5966822.72  0% 9% 7% 100%
 spectral-norm 
Clean18.731,44057218.73  0% 0% 0% 100%
C++ GNU g++ #712.011,03211143.01  100% 100% 100% 100%
 mandelbrot 
Clean #257.1850850657.18  0% 0% 0% 100%
C++ GNU g++ #524.7028,8008586.18  100% 100% 100% 100%

 about Clean

Clean Version 2.0 Language Report (HTML)

online book Functional Programming in Clean

2.2

Home Page: http://www.cs.kun.nl/~clean/index.html

Download: http://www.cs.kun.nl/~clean/Download/main/main.htm

Revised BSD license