Lua vs Python
Python がスコア 2.9 で、Lua の 0.3 を上回っています(差は 2.6 ポイント)。
10 の共通ベンチマークのうち、Lua が 2 勝、Python が 8 勝。
メモリ効率では Lua がリード。 人気度では Python がリード。
直接対決
共通ベンチマーク(10)
| ベンチマーク | Lua | Python |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 47.6 | 33.4 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 10.0 | 5 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 24.1 | 27.9 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 90.5 | 46.5 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 8 | 14.0 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 216 | 6 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 2.99 | 1.35 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 2.59 | 1.41 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 38.7 | 4.18 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 77.6 | 5 |
Lua と比較
Python と比較