Fortran vs JavaScript
Fortran 以 25.9 分领先于 JavaScript 的 9.0 分(相差 16.9 分)。
在 9 项共同基准测试中,Fortran 胜出 9 项,JavaScript 胜出 0 项。
Fortran 在内存效率方面领先。 JavaScript 在流行度方面领先。
正面对比
共同基准测试(9)
| 基准测试 | Fortran | JavaScript |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 2.24 | 8.61 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 9.67 | 11.1 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 1.36 | 2.56 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 2.72 | 4.05 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 3.39 | 8.55 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 0.74 | 1.15 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 0.98 | 4.35 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 3.35 | 15.5 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 0.72 | 1.6 |
将 Fortran 与以下模型对比
将 JavaScript 与以下模型对比