Lua vs Smalltalk
Smalltalk 以 1.4 分领先于 Lua 的 0.3 分(相差 1.1 分)。
在 9 项共同基准测试中,Lua 胜出 2 项,Smalltalk 胜出 7 项。
Lua 在内存效率方面领先。
正面对比
共同基准测试(9)
| 基准测试 | Lua | Smalltalk |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 47.6 | 35.2 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 10.0 | 8 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 24.1 | 43.2 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 90.5 | 8 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 8 | 5 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 216 | 115 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 2.99 | 7.31 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 38.7 | 9 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 77.6 | 53.4 |
将 Lua 与以下模型对比
将 Smalltalk 与以下模型对比