Fortran vs PHP
Fortran 以 25.9 分领先于 PHP 的 1.9 分(相差 24.0 分)。
在 9 项共同基准测试中,Fortran 胜出 8 项,PHP 胜出 1 项。
Fortran 在内存效率方面领先。 PHP 在流行度方面领先。
正面对比
共同基准测试(9)
| 基准测试 | Fortran | PHP |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 2.24 | 22.2 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 9.67 | 7 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 1.36 | 31.1 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 2.72 | 7 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 3.39 | 204 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 0.74 | 1.01 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 0.98 | 1.88 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 3.35 | 8.29 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 0.72 | 18.3 |
将 Fortran 与以下模型对比
将 PHP 与以下模型对比