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/5±
binary-trees±2±
fannkuch±1/62
nsieve±2± 9
spectral-norm±±±
partial-sums±±±
mandelbrot±±±
recursive±1/2±
n-body±1/2±
k-nucleotide27±
nsieve-bits2±±
fasta2±±
reverse-complement23±
pidigits5±±

± look at the measurements

 Clean comparison measurements

Program & Logs CPU secs Memory KB Size B Elapsed secs ~ CPU Load
 sum-file 
Clean2.923,100231  
C++ GNU g++ #26.2914,864260  
 binary-trees 
Clean #34.1216,876627  
C++ GNU g++ #25.917,000541  
 fannkuch 
Clean7.745001020  
C++ GNU g++ #28.283,096554  
 nsieve N = 9 reduced workload 
Clean1.839,344465  
C++ GNU g++ #31.795,788313  
 spectral-norm 
Clean18.103,108660  
C++ GNU g++17.493,092442  
 partial-sums 
Clean1.943,088577  
C++ GNU g++ #31.843,096531  
 mandelbrot 
Clean #23.623,292639  
C++ GNU g++3.003,312584  
 recursive 
Clean #43.37612494  
C++ GNU g++ #22.591,008566  
 n-body 
Clean17.365081722  
C++ GNU g++ #212.789361705  
 k-nucleotide 
Clean11.6266,1001762  
C++ GNU g++ #37.639,3121380  
 nsieve-bits 
Clean4.554,876534  
C++ GNU g++2.803,328494  
 fasta 
Clean24.513,1161513  
C++ GNU g++ #411.693,1201248  
 reverse-complement 
Clean1.4843,0961064  
C++ GNU g++ #30.6313,288810  
 pidigits 
Clean #214.343,116644  
C++ GNU g++ #22.853,124652  

 about Clean

Clean Version 2.0 Language Report (HTML)

online book Functional Programming in Clean

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