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
sum-file1/21/21/2
fannkuch±1/22
binary-trees±2±
nsieve±2±
partial-sums±1/2±
spectral-norm±2±
n-body±1/2±
fasta24±
recursive21/2±
mandelbrot21/21/2
nsieve-bits2±±
k-nucleotide28±
pidigits22±
reverse-complement23±

± look at the measurements

 Clean comparison measurements

Program & Logs CPU secs Memory KB Size B Elapsed secs ~ CPU Load
 sum-file 
Clean2.74464152  
C++ GNU g++ #26.47852260  
 fannkuch 
Clean6.78496925  
C++ GNU g++ #27.78844554  
 binary-trees 
Clean #33.9816,868539  
C++ GNU g++ #24.476,996541  
 nsieve 
Clean2.089,324394  
C++ GNU g++ #32.085,764313  
 partial-sums 
Clean4.18508577  
C++ GNU g++ #34.05852531  
 spectral-norm 
Clean27.321,404572  
C++ GNU g++23.84900442  
 n-body 
Clean17.285201587  
C++ GNU g++ #214.629321705  
 fasta 
Clean28.772,8201420  
C++ GNU g++ #418.727881248  
 recursive 
Clean #43.80596422  
C++ GNU g++ #22.401,008566  
 mandelbrot 
Clean #24.96472506  
C++ GNU g++ #43.028961097  
 nsieve-bits 
Clean6.414,844464  
C++ GNU g++3.863,316494  
 k-nucleotide 
Clean13.6178,0321511  
C++ GNU g++ #37.469,3041380  
 pidigits 
Clean #23.422,624563  
C++ GNU g++ #21.661,052652  
 reverse-complement 
Clean1.2043,080834  
C++ GNU g++ #30.5413,288810  

 about Clean

Clean Version 2.0 Language Report (HTML)

online book Functional Programming in Clean

version 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