Smalltalk vs Swift
Swift 14.4 स्कोर के साथ Smalltalk (1.4) से आगे है (13.0 पॉइंट)।
9 साझा बेंचमार्क में से Smalltalk ने 2 और Swift ने 7 जीते।
मेमोरी दक्षता में Swift आगे है।
आमने-सामने
साझा बेंचमार्क (9)
| बेंचमार्क | Smalltalk | Swift |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 35.2 | 17.6 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 8 | 8.2 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 43.2 | 2.2 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 8 | 14.4 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 5 | 1.35 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 115 | 5.45 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 7.31 | 0.76 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 9 | 2.05 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 53.4 | 1.45 |
Smalltalk की तुलना करें
Swift की तुलना करें