Lua vs PHP
PHP 1.9 स्कोर के साथ Lua (0.3) से आगे है (1.6 पॉइंट)।
10 साझा बेंचमार्क में से Lua ने 1 और PHP ने 9 जीते।
मेमोरी दक्षता में Lua आगे है। लोकप्रियता में PHP आगे है।
आमने-सामने
साझा बेंचमार्क (10)
| बेंचमार्क | Lua | PHP |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 47.6 | 22.2 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 10.0 | 7 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 24.1 | 31.1 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 90.5 | 25.8 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 8 | 7 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 216 | 204 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 2.99 | 1.01 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 2.59 | 1.88 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 38.7 | 8.29 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 77.6 | 18.3 |
Lua की तुलना करें
PHP की तुलना करें