Python vs Swift
Swift è in vantaggio con un punteggio di 14.4 contro 2.9 di Python (11.5 punti).
Su 11 benchmark in comune, Python ne vince 2 e Swift ne vince 9.
Python è in testa nella categoria Efficienza di memoria. Python è in testa nella categoria Popolarità.
Testa a testa
Benchmark in comune (11)
| Benchmark | Python | Swift |
|---|---|---|
fasta time (s) ↓ Programming Language Benchmarks | 3.347 | 0.138 |
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 33.4 | 17.6 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 5 | 8.2 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 27.9 | 2.2 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 46.5 | 14.4 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 14.0 | 1.35 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 6 | 5.45 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 1.35 | 0.76 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 1.41 | 18.2 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 4.18 | 2.05 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 5 | 1.45 |