Smalltalk vs Swift
Swift がスコア 14.4 で、Smalltalk の 1.4 を上回っています(差は 13.0 ポイント)。
9 の共通ベンチマークのうち、Smalltalk が 2 勝、Swift が 7 勝。
メモリ効率では Swift がリード。
直接対決
共通ベンチマーク(9)
| ベンチマーク | Smalltalk | Swift |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 35.2 | 17.6 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 8 | 8.2 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 43.2 | 2.2 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 8 | 14.4 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 5 | 1.35 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 115 | 5.45 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 7.31 | 0.76 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 9 | 2.05 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 53.4 | 1.45 |
Smalltalk と比較
Swift と比較