PHP vs Ruby
PHP がスコア 1.9 で、Ruby の 1.4 を上回っています(差は 0.5 ポイント)。
10 の共通ベンチマークのうち、PHP が 6 勝、Ruby が 4 勝。
メモリ効率では Ruby がリード。 人気度では PHP がリード。
直接対決
共通ベンチマーク(10)
| ベンチマーク | PHP | Ruby |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 22.2 | 18.9 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 7 | 23.0 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 31.1 | 34.2 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 25.8 | 8 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 7 | 9 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 204 | 5 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 1.01 | 17.9 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 1.88 | 12.4 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 8.29 | 6.01 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 18.3 | 56.5 |
PHP と比較
Ruby と比較