C# vs Fortran
C# 以 31.0 分领先于 Fortran 的 25.9 分(相差 5.1 分)。
在 9 项共同基准测试中,C# 胜出 4 项,Fortran 胜出 5 项。
Fortran 在内存效率方面领先。 C# 在流行度方面领先。
正面对比
共同基准测试(9)
| 基准测试 | C# | Fortran |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 6.22 | 2.24 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 2.16 | 9.67 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 1.14 | 1.36 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 2.96 | 2.72 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 3.13 | 3.39 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 0.75 | 0.74 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 1.36 | 0.98 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 1.56 | 3.35 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 0.74 | 0.72 |
将 C# 与以下模型对比
将 Fortran 与以下模型对比