OCaml vs PHP
OCaml este în față cu scorul 8.7, față de 1.9 pentru PHP (6.8 puncte).
În 11 benchmark-uri comune, OCaml câștigă 7, iar PHP câștigă 4.
OCaml conduce la categoria Eficiența memoriei. PHP conduce la categoria Popularitate.
Față în față
Benchmark-uri comune (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 |