Lua vs Pascal
Pascal 以 14.3 分领先于 Lua 的 0.3 分(相差 14.0 分)。
在 9 项共同基准测试中,Lua 胜出 2 项,Pascal 胜出 7 项。
Pascal 在内存效率方面领先。 Pascal 在流行度方面领先。
正面对比
共同基准测试(9)
| 基准测试 | Lua | Pascal |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 47.6 | 2.12 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 10.0 | 10.7 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 24.1 | 5.62 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 8 | 3.91 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 216 | 6.31 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 2.99 | 0.75 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 2.59 | 5.56 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 38.7 | 3.83 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 77.6 | 1.46 |
将 Lua 与以下模型对比
将 Pascal 与以下模型对比