x64 Ubuntu : Intel® Q6600® one core |
This chart shows 3 comparisons - Time-used, Memory-used and Code-used.
Each chart bar shows, for one unidentified benchmark, how much the fastest Clean program used compared to the fastest C++ GNU g++ program.
This table shows 3 comparisons - Time-used, Memory-used and Code-used.
Each table row shows, for one named benchmark, how much the fastest Clean program used compared to the fastest C++ GNU g++ program.
| Clean used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | Reduced N |
| reverse-complement | ± | ± | ± | 250,000 |
| fannkuch | ± | 1/2 | ± | |
| n-body | 2× | 1/2 | ± | |
| spectral-norm | 2× | ± | 1/2 | |
| mandelbrot | 3× | 1/53 | 1/2 | |
| binary-trees | 3× | ± | 1/2 | |
| fasta | 5× | 2× | ± | |
| k-nucleotide | 11× | 15× | 1/2 | |
± read the measurements and then read the program source code.
This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ~ CPU Load.
For each named benchmark, measurements of the fastest Clean program are shown for comparison against measurements of the fastest C++ GNU g++ program.
| Program Source Code | CPU secs | Elapsed secs | Memory KB | Code B | ~ CPU Load |
|---|---|---|---|---|---|
| reverse-complement N = 250,000 reduced workload | |||||
| Clean | 0.03 | ? | 834 | ||
| C++ GNU g++ | 0.03 | ? | 1098 | ||
| fannkuch | |||||
| Clean | 66.36 | 66.35 | 620 | 925 | 0% 0% 0% 100% |
| C++ GNU g++ | 50.34 | 50.34 | 1,260 | 1186 | 0% 0% 0% 100% |
| n-body | |||||
| Clean | 33.13 | 33.13 | 568 | 1587 | 0% 1% 0% 100% |
| C++ GNU g++ | 20.57 | 20.56 | 932 | 1428 | 0% 0% 0% 100% |
| spectral-norm | |||||
| Clean | 20.25 | 20.25 | 1,444 | 572 | 0% 1% 0% 100% |
| C++ GNU g++ | 11.90 | 11.89 | 1,156 | 1114 | 0% 0% 0% 100% |
| mandelbrot | |||||
| Clean | 64.48 | 64.48 | 588 | 506 | 0% 0% 0% 100% |
| C++ GNU g++ | 25.03 | 25.03 | 31,448 | 858 | 0% 0% 0% 100% |
| binary-trees | |||||
| Clean | 44.71 | 44.72 | 262,708 | 539 | 0% 0% 0% 100% |
| C++ GNU g++ | 16.52 | 16.51 | 296,208 | 892 | 0% 1% 0% 100% |
| fasta | |||||
| Clean | 11.41 | 11.41 | 1,624 | 1420 | 0% 0% 0% 100% |
| C++ GNU g++ | 2.26 | 2.26 | 964 | 1470 | 1% 1% 0% 100% |
| k-nucleotide | |||||
| Clean | 124.87 | 124.87 | 2,097,736 | 1511 | 0% 0% 0% 100% |
| C++ GNU g++ | 11.41 | 11.41 | 142,264 | 3415 | 0% 0% 0% 100% |
| pidigits | |||||
| Clean | |||||
| chameneos-redux | |||||
| regex-dna | |||||
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