OCaml vs PHP
يتقدم OCaml بدرجة 8.7 مقابل 1.9 لـ PHP (بفارق 6.8 نقطة).
في 11 معيارًا مشتركًا، يفوز OCaml في 7 ويفوز PHP في 4.
يتقدم OCaml في كفاءة الذاكرة. يتقدم PHP في الشعبية.
وجهًا لوجه
المعايير المشتركة (11)
| المعيار | 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 |