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 |
| n-body | ± | ± | ± | |
| fannkuch | ± | 1/2 | ± | |
| spectral-norm | 2× | ± | 1/2 | |
| reverse-complement | 2× | ± | ± | 2,500,000 |
| binary-trees | 2× | ± | 1/2 | |
| mandelbrot | 2× | 1/60 | 1/2 | |
| fasta | 4× | 2× | ± | |
| pidigits | 5× | 2× | ± | |
| k-nucleotide | 9× | 8× | 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 |
|---|---|---|---|---|---|
| n-body | |||||
| Clean | 28.57 | 28.57 | 544 | 1587 | 0% 0% 0% 100% |
| C++ GNU g++ | 23.81 | 23.81 | 788 | 1428 | 0% 1% 0% 100% |
| fannkuch | |||||
| Clean | 68.88 | 68.88 | 532 | 925 | 0% 0% 0% 100% |
| C++ GNU g++ | 50.01 | 50.01 | 1,124 | 1186 | 0% 0% 0% 100% |
| spectral-norm | |||||
| Clean | 18.73 | 18.73 | 1,440 | 572 | 0% 1% 0% 100% |
| C++ GNU g++ | 11.94 | 11.94 | 1,004 | 1114 | 0% 0% 1% 100% |
| reverse-complement N = 2,500,000 reduced workload | |||||
| Clean | 0.34 | 0.35 | 55,656 | 834 | 0% 4% 0% 100% |
| C++ GNU g++ | 0.19 | 0.19 | ? | 1098 | 0% 0% 0% 100% |
| binary-trees | |||||
| Clean | 30.56 | 30.56 | 131,592 | 539 | 0% 0% 1% 100% |
| C++ GNU g++ | 13.47 | 13.47 | 148,652 | 892 | 0% 0% 0% 100% |
| mandelbrot | |||||
| Clean | 57.17 | 57.17 | 508 | 506 | 0% 0% 0% 100% |
| C++ GNU g++ | 24.55 | 24.55 | 30,564 | 858 | 0% 0% 0% 100% |
| fasta | |||||
| Clean | 14.20 | 14.20 | 1,564 | 1420 | 0% 1% 0% 100% |
| C++ GNU g++ | 3.76 | 3.77 | 816 | 1470 | 0% 0% 0% 100% |
| pidigits | |||||
| Clean | 13.71 | 13.71 | 2,852 | 563 | 0% 0% 0% 100% |
| C++ GNU g++ | 2.71 | 2.71 | 1,596 | 682 | 0% 0% 1% 100% |
| k-nucleotide | |||||
| Clean | 124.30 | 124.29 | 1,049,148 | 1511 | 0% 0% 0% 100% |
| C++ GNU g++ | 13.61 | 13.61 | 132,864 | 3415 | 0% 0% 0% 100% |
| 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