Fortran vs Pascal
Fortran 以 25.9 分领先于 Pascal 的 14.3 分(相差 11.6 分)。
在 9 项共同基准测试中,Fortran 胜出 8 项,Pascal 胜出 1 项。
Pascal 在内存效率方面领先。 Fortran 在流行度方面领先。
正面对比
共同基准测试(9)
| 基准测试 | Fortran | Pascal |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 2.24 | 2.12 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 9.67 | 10.7 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 1.36 | 5.62 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 2.72 | 3.91 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 3.39 | 6.31 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 0.74 | 0.75 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 0.98 | 5.56 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 3.35 | 3.83 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 0.72 | 1.46 |
将 Fortran 与以下模型对比
将 Pascal 与以下模型对比