Gentoo : Intel® Pentium® 4 |
Read the FAQ! |
Compare the performance of Ruby programs against some other language implementation, or check the Ruby CPU time and Memory use measurements.
For more information about the Ruby implementation we measured see ↓ about Ruby.
For each of one our benchmarks, a white bar shows which language implementation had the faster program, and a black bar shows which used the least memory.
How many times faster or smaller are the Ruby programs than the corresponding Perl programs?
| Ruby x times better ~ Perl x times better | ||||
|---|---|---|---|---|
| Program & Logs | Faster | Smaller: Memory Use | Smaller: GZip Bytes | Reduced N |
| binary-trees | 1.4 | ~1.0 | 1.4 | |
| chameneos-redux | ||||
| fannkuch | ~2.1 | ~1.3 | 1.1 | |
| fasta | ~4.4 | ~127 | 1.3 | |
| k-nucleotide | ~5.0 | ~2.0 | ~1.2 | |
| mandelbrot | ~3.6 | 1.0 | ~1.1 | |
| meteor-contest | ||||
| n-body | ~2.9 | 1.1 | ~1.0 | |
| nsieve | ~1.6 | 4.0 | 1.1 | |
| nsieve-bits | ~5.9 | ~1.5 | ~1.4 | |
| partial-sums | ~3.4 | ~1.1 | 1.1 | |
| pidigits | ~1.0 | ~11.1 | ~1.8 | |
| recursive | ~1.6 | ~4.5 | 1.3 | |
| regex-dna | 1.8 | ~1.7 | 1.2 | |
| reverse-complement | ~4.1 | ~2.3 | 1.1 | |
| spectral-norm | ~2.4 | ~1.1 | 1.2 | |
| startup | ~1.6 | 1.1 | ||
| sum-file | ~4.2 | ~1.7 | 1.2 | |
| thread-ring | ||||
online book "Programming Ruby: The Pragmatic Programmer's Guide
ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux]
Home Page: Ruby is
Download: Download Ruby