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 |