Erlang vs PHP
PHP 以 1.9 分领先于 Erlang 的 0.3 分(相差 1.6 分)。
在 9 项共同基准测试中,Erlang 胜出 4 项,PHP 胜出 5 项。
PHP 在内存效率方面领先。
正面对比
共同基准测试(9)
| 基准测试 | Erlang | PHP |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 5.08 | 22.2 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 65.2 | 7 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 19.4 | 31.1 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 53.9 | 7 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 104 | 204 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 3.16 | 1.01 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 21.3 | 1.88 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 29.0 | 8.29 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 11.1 | 18.3 |
将 Erlang 与以下模型对比
将 PHP 与以下模型对比