Java vs Pascal
Java 以 15.7 分领先于 Pascal 的 14.3 分(相差 1.4 分)。
在 9 项共同基准测试中,Java 胜出 4 项,Pascal 胜出 5 项。
Pascal 在内存效率方面领先。 Java 在流行度方面领先。
正面对比
共同基准测试(9)
| 基准测试 | Java | Pascal |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 3.9 | 2.12 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 9.26 | 10.7 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 1.11 | 5.62 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 3.96 | 3.91 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 6.02 | 6.31 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 8.09 | 0.75 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 1.38 | 5.56 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 4.05 | 3.83 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 1.47 | 1.46 |
将 Java 与以下模型对比
将 Pascal 与以下模型对比