Go vs PHP
Go 以 20.8 分领先于 PHP 的 1.9 分(相差 18.9 分)。
在 11 项共同基准测试中,Go 胜出 9 项,PHP 胜出 2 项。
Go 在内存效率方面领先。 Go 在流行度方面领先。
正面对比
共同基准测试(11)
| 基准测试 | Go | PHP |
|---|---|---|
merkletrees time (s) ↓ Programming Language Benchmarks | 1.436 | 3.71 |
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 14.2 | 22.2 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 8.36 | 7 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 1.27 | 31.1 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 7.58 | 25.8 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 3.77 | 7 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 6.39 | 204 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 0.82 | 1.01 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 3.23 | 1.88 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 1.93 | 8.29 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 1.43 | 18.3 |
将 Go 与以下模型对比
将 PHP 与以下模型对比