Lua vs Swift
Swift 14.4 स्कोर के साथ Lua (0.3) से आगे है (14.1 पॉइंट)।
10 साझा बेंचमार्क में से Lua ने 1 और Swift ने 9 जीते।
मेमोरी दक्षता में Lua आगे है। लोकप्रियता में Swift आगे है।
आमने-सामने
साझा बेंचमार्क (10)
| बेंचमार्क | Lua | Swift |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 47.6 | 17.6 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 10.0 | 8.2 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 24.1 | 2.2 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 90.5 | 14.4 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 8 | 1.35 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 216 | 5.45 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 2.99 | 0.76 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 2.59 | 18.2 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 38.7 | 2.05 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 77.6 | 1.45 |