/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 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 program used compared to the fastest Zonnon Mono program.
| used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | |
| nsieve | 5× | 10× | ± | |
| n-body | 17× | 1/6 | ± | |
| used what fraction? used how many times more? | |||||||
|---|---|---|---|---|---|---|---|
| Time-used | |- | |--- | 25% | median | 75% | ---| | -| |
| (CPU secs) | 5× | 5× | 5× | 11× | 17× | 17× | 17× |
± 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 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 | |||||
| 10.93 | 99,276 | 258 | |||
| Zonnon Mono | 2.32 | 9,744 | 368 | ||
| n-body | |||||
| 586.85 | 872 | 1265 | |||
| Zonnon Mono | 34.61 | 5,168 | 1524 | ||
| fasta | |||||
| 2.07 | 908 | 993 | |||
| k-nucleotide | |||||
| 0.70 | 8,284 | 613 | |||
| pidigits | |||||
| 0.59 | 5,324 | 684 | |||
| mandelbrot | |||||
| 0.13 | 864 | 367 | |||
| partial-sums | |||||
| 0.09 | 848 | 437 | |||
| Zonnon Mono | |||||
| reverse-complement | |||||
| 0.17 | 1,464 | 538 | |||
| recursive | |||||
| 0.70 | 860 | 330 | |||
| Zonnon Mono | |||||
| spectral-norm | |||||
| 6.33 | 828 | 328 | |||
| nsieve-bits | |||||
| 23.63 | 2,512 | 426 | |||
| regex-dna | |||||
| binary-trees | |||||
Remember - those are just the fastest and Zonnon Mono programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for .
Maybe one of those other programs is fastest on a different OS/machine.
Remember - those are just the fastest 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.
online book "Programming in Lua" by Roberto Ierusalimschy
"Game Developers Conference 2010 Lua Tutorial" (slides)
Lua 5.1.3 Copyright (C) 1994-2008 Lua.org, PUC-Rio
Home Page: http://www.lua.org/
Download: http://www.lua.org/download.html