PHP vs Swift
Sigurvegari: Swift með einkunnina 14.4 á móti 1.9 hjá PHP (12.5 stig).
Í 10 sameiginlegum prófum vinnur PHP 2 og Swift vinnur 8.
Swift leiðir í flokknum Minnisnýtni. PHP leiðir í flokknum Vinsældir.
Bein viðureign
Sameiginleg próf (10)
| Próf | 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 |