From: Luc Heinrich Date: 2006-02-23T22:18:49+09:00 Subject: Re: YARV benchmarking On 23 f�vr. 06, at 02:38, E. Saynatkari wrote: > With YARV 0.4 out, I ran the benchmark suite and got some > interesting results. These are of course non-real-world > results (those typically vary between 2-4 times faster) > but I would be interested in seeing architechture differences. Here are mine: -- benchmark summary --------------------------- (The ones where YARV is slower marked with *'s.) ruby yarv ---- ---- app_answer 2.418 0.405 app_factorial 1.456 0.743 app_fib 15.248 5.514 app_mandelbrot 4.999 2.450 app_pentomino 212.400 104.224 app_raise 4.370 4.844 * app_strconcat 3.648 2.852 app_tak 19.795 7.156 app_tarai 15.720 5.735 loop_times 8.294 5.903 loop_whileloop 21.181 9.547 loop_whileloop2 4.250 1.924 so_ackermann 42.671 6.196 so_array 14.458 7.160 so_concatenate 3.876 2.178 so_count_words 1.610 0.955 so_exception 7.298 6.310 so_lists 2.518 1.429 so_matrix 4.011 1.998 so_nested_loop 11.652 6.595 so_object 13.858 9.797 so_random 4.680 2.514 so_sieve 1.555 0.677 vm1_block 51.689 16.343 vm1_const 38.324 13.231 vm1_ensure 37.261 9.546 vm1_length 40.715 19.410 vm1_rescue 30.107 11.241 vm1_simplereturn 42.499 14.965 vm1_swap 53.092 11.935 vm2_array 12.452 6.581 vm2_method 26.487 10.435 vm2_poly_method 37.888 13.257 vm2_poly_method_ov 9.918 4.250 vm2_proc 15.580 4.702 vm2_regexp 9.237 6.154 vm2_send 9.632 4.729 vm2_super 10.475 3.786 vm2_unif1 8.588 3.351 vm2_zsuper 11.429 4.171 vm3_thread_create_join 0.035 0.799 * ------------------------------------------------- Total: 867.374 355.992 --- Versions ------------------------------------------------ Ruby: ruby 1.8.4 (2005-12-24) [powerpc-darwin8.3.0] YARV: ruby 2.0.0 (Base: Ruby 1.9.0 2006-02-14) [powerpc-darwin8.5.0] YARVCore 0.4.0 Rev: 471 (2006-02-22) [opts: ] --- Machine ------------------------------------------------- Darwin arrakis.local 8.5.0 Darwin Kernel Version 8.5.0: Sun Jan 22 10:38:46 PST 2006; root:xnu-792.6.61.obj~1/RELEASE_PPC Power Macintosh powerpc -- Luc Heinrich - luc@honk-honk.com - http://www.honk-honk.com