Ruby 1.8.5 / Ruby 1.9.0 with YARV (in seconds)
Ruby 1.8.5
ruby 1.8.5 (2006-12-04 patchlevel 2) [i686-linux] (-march=athlon-xp -O2)
Ruby 1.9.0 with YARV
ruby 1.9.0 (2007-01-05 patchlevel 0) [i686-linux] (-march=athlon-xp -O2)
Benchmark old new
app_answer 6.20.2
26.0x
app_factorial 3.42.1
1.6x
app_fib 23.62.9
8.0x
app_mandelbrot 7.03.3
2.1x
app_pentomino
app_raise 4.16.8
0.6x
app_strconcat 3.92.2
1.8x
app_tak 31.74.6
6.9x
app_tarai 24.33.7
6.6x
loop_times 26.37.0
3.8x
loop_whileloop 27.43.3
8.4x
loop_whileloop2 5.50.7
8.2x
so_ackermann 73.53.8
19.5x
so_array 23.85.7
4.2x
so_concatenate 8.41.9
4.5x
so_count_words 2.61.2
2.1x
so_exception 8.38.0
1.0x
so_lists 3.41.4
2.5x
so_matrix 6.81.7
3.9x
so_nested_loop 23.85.2
4.6x
so_object 18.511.1
1.7x
so_random 6.41.9
3.4x
so_sieve 1.80.4
5.2x
vm1_block 92.010.6
8.7x
vm1_const 48.95.4
9.0x
vm1_ensure 66.73.2
20.6x
vm1_length 52.36.5
8.1x
vm1_rescue 47.33.6
13.3x
vm1_simplereturn 77.98.2
9.6x
vm1_swap 60.45.9
10.2x
vm2_array 14.95.0
3.0x
vm2_method 54.77.7
7.1x
vm2_poly_method 63.79.8
6.5x
vm2_poly_method_ov 12.02.1
5.8x
vm2_proc 24.43.3
7.5x
vm2_regexp 12.06.6
1.8x
vm2_send 13.88.1
1.7x
vm2_super 18.23.6
5.1x
vm2_unif1 13.61.8
7.8x
vm2_zsuper 20.83.0
7.0x
vm3_thread_create_join