Ruby 1.9 before / with YARV (in seconds)
Benchmark |
old |
new |
|
app_answer |
0.7 | 0.1 |
5.2x |
app_factorial | | | |
app_fib |
8.3 | 1.9 |
4.4x |
app_mandelbrot |
2.5 | 1.6 |
1.6x |
app_pentomino | | | |
app_raise |
3.4 | 4.3 |
0.8x |
app_strconcat |
1.5 | 1.2 |
1.2x |
app_tak |
11.0 | 2.5 |
4.4x |
app_tarai |
8.7 | 2.0 |
4.4x |
loop_times |
5.2 | 4.3 |
1.2x |
loop_whileloop |
11.7 | 1.9 |
6.1x |
loop_whileloop2 |
2.4 | 0.4 |
5.9x |
so_ackermann |
11.6 | 1.9 |
6.0x |
so_array |
7.6 | 4.0 |
1.9x |
so_concatenate |
2.2 | 1.3 |
1.7x |
so_count_words |
0.6 | 0.6 |
0.9x |
so_exception |
5.1 | 5.5 |
0.9x |
so_lists |
1.2 | 0.9 |
1.4x |
so_matrix |
2.4 | 1.2 |
2.1x |
so_nested_loop |
6.0 | 3.5 |
1.7x |
so_object |
7.6 | 7.8 |
1.0x |
so_random |
2.4 | 0.9 |
2.7x |
so_sieve |
0.8 | 0.2 |
4.0x |
vm1_block |
26.5 | 6.3 |
4.2x |
vm1_const |
18.4 | 2.9 |
6.3x |
vm1_ensure |
13.3 | 1.9 |
6.9x |
vm1_length |
21.6 | 3.7 |
5.9x |
vm1_rescue |
14.5 | 2.1 |
6.8x |
vm1_simplereturn |
19.3 | 4.6 |
4.2x |
vm1_swap |
31.4 | 2.7 |
11.7x |
vm2_array |
9.4 | 3.7 |
2.6x |
vm2_method |
12.9 | 4.8 |
2.7x |
vm2_poly_method |
17.9 | 6.3 |
2.8x |
vm2_poly_method_ov |
5.0 | 0.9 |
5.6x |
vm2_proc |
8.2 | 2.2 |
3.8x |
vm2_regexp |
5.6 | 3.6 |
1.6x |
vm2_send |
7.2 | 4.4 |
1.7x |
vm2_super |
5.6 | 1.5 |
3.6x |
vm2_unif1 |
4.5 | 1.1 |
4.2x |
vm2_zsuper |
6.3 | 1.6 |
3.9x |
vm3_thread_ | | | |