/mobile Handheld Friendly website
OUT-OF-DATE! Read http://shootout.alioth.debian.org/ |
This chart shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.
Each chart bar shows, for one unidentified benchmark, how much the fastest Prolog SWI program used compared to the fastest Zonnon Mono program.
Look at speed another way - look at a box plot of Time-used data.
This table shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.
Each table row shows, for one named benchmark, how much the fastest Prolog SWI program used compared to the fastest Zonnon Mono program.
| Prolog SWI used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | |
| nsieve | 34× | 16× | ± | |
| n-body | 135× | 1/2 | ± | |
| Prolog SWI used what fraction? used how many times more? | |||||||
|---|---|---|---|---|---|---|---|
| Time-used | |- | |--- | 25% | median | 75% | ---| | -| |
| (CPU secs) | 34× | 34× | 34× | 84× | 135× | 135× | 135× |
± read the measurements and then read the program source code.
This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ≈ CPU Load ~ speed and size.
For each named benchmark, measurements of the fastest Prolog SWI program are shown for comparison against measurements of the fastest Zonnon Mono program.
| Program Source Code | CPU secs | Elapsed secs | Memory KB | Code B | ≈ CPU Load |
|---|---|---|---|---|---|
| nsieve | |||||
| Prolog SWI | 78.34 | 159,052 | 509 | ||
| Zonnon Mono | 2.32 | 9,744 | 368 | ||
| n-body | |||||
| Prolog SWI | 4,662.82 | 2,488 | 1573 | ||
| Zonnon Mono | 34.61 | 5,168 | 1524 | ||
| partial-sums | |||||
| Prolog SWI | 0.56 | 2,436 | 735 | ||
| Zonnon Mono | |||||
| k-nucleotide | |||||
| Prolog SWI | 14.93 | 8,676 | 1284 | ||
| mandelbrot | |||||
| Prolog SWI | 1.43 | 2,556 | 823 | ||
| fasta | |||||
| Prolog SWI | 18.64 | 2,540 | 1369 | ||
| recursive | |||||
| Prolog SWI | 2.91 | 2,512 | 587 | ||
| Zonnon Mono | |||||
| pidigits | |||||
| Prolog SWI | 0.18 | 2,348 | 618 | ||
| binary-trees | |||||
| Prolog SWI | 3.84 | 3,276 | 790 | ||
| spectral-norm | |||||
| Prolog SWI | 59.89 | 2,808 | 939 | ||
| nsieve-bits | |||||
| Prolog SWI | 248.19 | 5,896 | 673 | ||
| reverse-complement | |||||
| regex-dna | |||||
Remember - those are just the fastest Prolog SWI and Zonnon Mono programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for Prolog SWI.
Maybe one of those other Prolog SWI programs is fastest on a different OS/machine.
Remember - those are just the fastest Prolog SWI and Zonnon Mono programs measured on this OS/machine. Check if there are faster implementations of these benchmark programs for other programming languages.
Maybe one of those other programs is fastest on a different OS/machine.
SWI-Prolog version 5.6.19 for i686-linux
Online book: Learn Prolog Now!
Online book: Logic, Programming and Prolog
Home Page: http://www.swi-prolog.org/
Download: http://www.swi-prolog.org/dl-stable.html