PHP vs Swift
Swift е напред со оцена 14.4 спрема 1.9 за PHP (12.5 поени).
Во 10 заеднички бенчмарци, PHP победува во 2, а Swift во 8.
Swift води во категоријата Ефикасност на меморијата. PHP води во категоријата Популарност.
Директна дуела
Заеднички бенчмарци (10)
| Бенчмарк | PHP | Swift |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 22.2 | 17.6 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 7 | 8.2 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 31.1 | 2.2 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 25.8 | 14.4 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 7 | 1.35 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 204 | 5.45 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 1.01 | 0.76 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 1.88 | 18.2 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 8.29 | 2.05 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 18.3 | 1.45 |