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.

Compare to:

 Are the Ruby programs better?

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 better?

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-trees1.4~1.31.2
chameneos-redux No program
fannkuch~2.51.71.1
fasta~3.9~751.3
k-nucleotide~5.31.4~1.2
mandelbrot~3.81.0~1.1
n-body~3.21.1~1.0
nsieve~1.51.1~1.2
nsieve-bits~5.2~1.5~1.4
partial-sums~4.52.01.1
pidigits~6.2~4.8~1.4
recursive~1.5~4.41.3
regex-dna1.6~1.71.2
reverse-complement~4.2~1.51.1
spectral-norm~2.0~1.11.2 500
startup~1.9 1.1
sum-file~4.6 1.2
thread-ring  No Perl

 about Ruby

online book "Programming Ruby: The Pragmatic Programmer's Guide

ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]

Home Page: Ruby is

Download: Download Ruby

Revised BSD license