Debian : AMD™ Sempron™ |
Read the FAQ! |
Compare the performance of Lua programs against some other language implementation, or check the Lua CPU time and Memory use measurements.
For more information about the Lua implementation we measured see ↓ about Lua.
For each of one our benchmarks, a white bar shows which language implementation had the faster program, and a black bar shows which used the least memory.
How many times faster or smaller are the Lua programs than the corresponding Perl programs?
| Lua x times better ~ Perl x times better | ||||
|---|---|---|---|---|
| Program & Logs | Faster | Smaller: Memory Use | Smaller: GZip Bytes | Reduced N |
| binary-trees | 3.7 | 1.1 | 1.0 | |
| chameneos-redux | ||||
| fannkuch | 1.8 | 1.0 | ~1.3 | |
| fasta | 4.3 | 2.6 | ~1.1 | |
| k-nucleotide | ~1.1 | 1.2 | ~1.7 | |
| mandelbrot | 5.5 | 1.0 | ~1.2 | |
| n-body | 2.8 | ~4.4 | ~1.1 | |
| nsieve | 2.8 | 1.2 | 1.2 | |
| nsieve-bits | ~1.0 | ~1.8 | ~1.7 | |
| partial-sums | 2.6 | 3.6 | ~1.1 | |
| pidigits | ~2.0 | ~20 | ~1.8 | |
| recursive | 7.4 | 3.8 | 1.2 | |
| regex-dna | ||||
| reverse-complement | ~3.5 | 1.2 | ~1.8 | |
| spectral-norm | 5.6 | 1.0 | ||
| startup | 1.2 | ~1.1 | ||
| sum-file | ~1.2 | 1.0 | 1.0 | |
| thread-ring | ||||
online book "Programming in Lua" by Roberto Ierusalimschy
"the evolution of Lua" (pdf slides)
Lua 5.1.3
Home Page: http://www.lua.org/
Download: http://www.lua.org/download.html