Fortran vs F#
Fortran 以 25.9 分领先于 F# 的 13.8 分(相差 12.1 分)。
在 9 项共同基准测试中,Fortran 胜出 7 项,F# 胜出 2 项。
Fortran 在内存效率方面领先。
正面对比
共同基准测试(9)
| 基准测试 | Fortran | F# |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 2.24 | 8.98 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 9.67 | 8.37 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 1.36 | 1.16 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 2.72 | 4.18 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 3.39 | 5.01 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 0.74 | 0.84 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 0.98 | 1.81 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 3.35 | 41.6 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 0.72 | 0.95 |
将 Fortran 与以下模型对比
将 F# 与以下模型对比