OCaml vs PHP
Rebbieħ: OCaml, b'punteġġ ta' 8.7 kontra 1.9 ta' PHP (6.8 punti differenza).
Fi 11 benchmarks komuni, OCaml jirbaħ 7 u PHP jirbaħ 4.
Fi Effiċjenza tal-memorja jaħkem: OCaml. Fi Popolarità jaħkem: PHP.
Wiċċ imb'wiċċ
Benchmarks komuni (11)
| Benchmark | OCaml | PHP |
|---|---|---|
merkletrees time (s) ↓ Programming Language Benchmarks | 1.113 | 3.71 |
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 3.55 | 22.2 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 8.84 | 7 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 3.37 | 31.1 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 16.2 | 25.8 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 7.6 | 7 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 6.95 | 204 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 2.77 | 1.01 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 2.2 | 1.88 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 2.27 | 8.29 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 5.34 | 18.3 |