Haskell vs Pascal
Haskell 以 21.0 分领先于 Pascal 的 14.3 分(相差 6.7 分)。
在 9 项共同基准测试中,Haskell 胜出 5 项,Pascal 胜出 4 项。
Pascal 在内存效率方面领先。 Pascal 在流行度方面领先。
正面对比
共同基准测试(9)
| 基准测试 | Haskell | Pascal |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 2.16 | 2.12 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 9.69 | 10.7 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 0.87 | 5.62 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 1.39 | 3.91 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 6.41 | 6.31 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 1.49 | 0.75 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 1.1 | 5.56 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 3.11 | 3.83 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 1.49 | 1.46 |
将 Haskell 与以下模型对比
将 Pascal 与以下模型对比