Python vs Swift
Swift впереди с оценкой 14.4 против 2.9 у Python (отрыв: 11.5).
В общих бенчмарках (11) Python побеждает в 2, а Swift – в 9.
Python лидирует в категории «Эффективность памяти». Python лидирует в категории «Популярность».
Лицом к лицу
Общие бенчмарки (11)
| Бенчмарк | 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 |