PHP vs Swift
Swift on edellä pistein 14.4 vs. 1.9 (PHP), ero 12.5 pistettä.
10 yhteisestä benchmarkista PHP voittaa 2 ja Swift voittaa 8.
Kategoriassa Muistitehokkuus johtaa Swift. Kategoriassa Suosio johtaa PHP.
Suoraan vastakkain
Yhteiset benchmarkit (10)
| Benchmark | 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 |