PLEASE CHOOSE THE UP-TO-DATE MEASUREMENTS INSTEAD OF THESE! (Read the FAQ!) |
Compare the performance of Clean programs against some other language implementation.
For more information about the Clean implementation we measured see ↓ about Clean.
| 1/2 1/3 1/4 Clean is better | ||||
|---|---|---|---|---|
| Programs | Time | Memory Use | Source Size | Reduced N |
| chameneos-redux | ||||
| regex-dna | ||||
| sum-file | 1/2 | 1/2 | 1/2 | |
| fannkuch | ± | 1/2 | 2 | |
| binary-trees | ± | 2 | ± | |
| nsieve | ± | 2 | ± | |
| partial-sums | ± | 1/2 | ± | |
| spectral-norm | ± | 2 | ± | |
| n-body | ± | 1/2 | ± | |
| fasta | 2 | 4 | ± | |
| recursive | 2 | 1/2 | ± | |
| mandelbrot | 2 | 1/2 | 1/2 | |
| nsieve-bits | 2 | ± | ± | |
| k-nucleotide | 2 | 8 | ± | |
| pidigits | 2 | 2 | ± | |
| reverse-complement | 2 | 3 | ± | |
± look at the measurements
| Program & Logs | CPU secs | Memory KB | Size B | Elapsed secs | ~ CPU Load |
|---|---|---|---|---|---|
| sum-file | |||||
| Clean | 2.74 | 464 | 152 | ||
| C++ GNU g++ #2 | 6.47 | 852 | 260 | ||
| fannkuch | |||||
| Clean | 6.78 | 496 | 925 | ||
| C++ GNU g++ #2 | 7.78 | 844 | 554 | ||
| binary-trees | |||||
| Clean #3 | 3.98 | 16,868 | 539 | ||
| C++ GNU g++ #2 | 4.47 | 6,996 | 541 | ||
| nsieve | |||||
| Clean | 2.08 | 9,324 | 394 | ||
| C++ GNU g++ #3 | 2.08 | 5,764 | 313 | ||
| partial-sums | |||||
| Clean | 4.18 | 508 | 577 | ||
| C++ GNU g++ #3 | 4.05 | 852 | 531 | ||
| spectral-norm | |||||
| Clean | 27.32 | 1,404 | 572 | ||
| C++ GNU g++ | 23.84 | 900 | 442 | ||
| n-body | |||||
| Clean | 17.28 | 520 | 1587 | ||
| C++ GNU g++ #2 | 14.62 | 932 | 1705 | ||
| fasta | |||||
| Clean | 28.77 | 2,820 | 1420 | ||
| C++ GNU g++ #4 | 18.72 | 788 | 1248 | ||
| recursive | |||||
| Clean #4 | 3.80 | 596 | 422 | ||
| C++ GNU g++ #2 | 2.40 | 1,008 | 566 | ||
| mandelbrot | |||||
| Clean #2 | 4.96 | 472 | 506 | ||
| C++ GNU g++ #4 | 3.02 | 896 | 1097 | ||
| nsieve-bits | |||||
| Clean | 6.41 | 4,844 | 464 | ||
| C++ GNU g++ | 3.86 | 3,316 | 494 | ||
| k-nucleotide | |||||
| Clean | 13.61 | 78,032 | 1511 | ||
| C++ GNU g++ #3 | 7.46 | 9,304 | 1380 | ||
| pidigits | |||||
| Clean #2 | 3.42 | 2,624 | 563 | ||
| C++ GNU g++ #2 | 1.66 | 1,052 | 652 | ||
| reverse-complement | |||||
| Clean | 1.20 | 43,080 | 834 | ||
| C++ GNU g++ #3 | 0.54 | 13,288 | 810 | ||
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