Fortran vs Ruby
Fortran 以 25.9 分领先于 Ruby 的 1.4 分(相差 24.5 分)。
在 9 项共同基准测试中,Fortran 胜出 9 项,Ruby 胜出 0 项。
Fortran 在内存效率方面领先。 Fortran 在流行度方面领先。
正面对比
共同基准测试(9)
| 基准测试 | Fortran | Ruby |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 2.24 | 18.9 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 9.67 | 23.0 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 1.36 | 34.2 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 2.72 | 9 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 3.39 | 5 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 0.74 | 17.9 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 0.98 | 12.4 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 3.35 | 6.01 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 0.72 | 56.5 |
将 Fortran 与以下模型对比
将 Ruby 与以下模型对比