Skip to content

Instantly share code, notes, and snippets.

@authorNari
Created March 5, 2014 01:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save authorNari/9359704 to your computer and use it in GitHub Desktop.
Save authorNari/9359704 to your computer and use it in GitHub Desktop.
Elapsed time: 2800.09093603 (sec)
-----------------------------------------------------------
benchmark results:
minimum results in each 3 measurements.
Execution time (sec)
name ruby 2.2.0dev (2014-02-20 trunk 45059) [x86_64-linux] built-ruby
app_answer 0.056 0.055
app_aobench 82.763 83.279
app_erb 1.585 1.561
app_factorial 1.007 1.065
app_fib 0.793 0.801
app_mandelbrot 1.664 1.615
app_pentomino 22.795 22.054
app_raise 0.505 0.478
app_strconcat 1.522 1.542
app_tak 1.092 1.223
app_tarai 0.899 0.918
app_uri 1.171 1.187
hash_flatten 0.698 0.723
hash_keys 0.285 0.281
hash_shift 0.035 0.053
hash_values 0.297 0.294
io_file_create 1.354 1.361
io_file_read 1.596 1.639
io_file_write 1.002 0.975
io_select 1.582 1.522
io_select2 1.781 1.776
io_select3 0.024 0.035
loop_for 1.815 1.790
loop_generator 0.469 0.482
loop_times 1.670 1.686
loop_whileloop 0.727 0.730
loop_whileloop2 0.147 0.163
so_ackermann 0.875 0.827
so_array 1.185 1.168
so_binary_trees 9.928 10.583
so_concatenate 5.889 5.825
so_count_words 0.225 0.236
so_exception 0.525 0.513
so_fannkuch 1.619 2.119
so_fasta 2.824 2.729
so_k_nucleotide 1.728 1.966
so_lists 0.953 0.918
so_mandelbrot 4.247 4.264
so_matrix 0.962 0.949
so_meteor_contest 4.286 4.355
so_nbody 2.386 2.505
so_nested_loop 1.512 1.510
so_nsieve 2.379 2.378
so_nsieve_bits 3.164 3.203
so_object 1.033 1.048
so_partial_sums 3.364 3.500
so_pidigits 1.395 1.399
so_random 0.656 0.757
so_reverse_complement 1.947 1.965
so_sieve 0.828 0.838
so_spectralnorm 3.282 3.034
vm1_attr_ivar* 1.630 1.596
vm1_attr_ivar_set* 1.740 1.656
vm1_block* 2.647 2.707
vm1_const* 0.419 0.483
vm1_ensure* 0.193 0.207
vm1_float_simple* 6.397 6.831
vm1_gc_short_lived* 14.894 14.485
vm1_gc_short_with_complex_long* 15.943 17.261
vm1_gc_short_with_long* 16.246 15.511
vm1_gc_short_with_symbol* 14.799 14.376
vm1_gc_wb_ary* 0.962 0.948
vm1_gc_wb_obj* 0.851 0.938
vm1_ivar* 1.151 1.169
vm1_ivar_set* 0.585 0.630
vm1_length* 0.796 0.780
vm1_lvar_init* 1.833 1.871
vm1_lvar_set* 3.749 2.918
vm1_neq* 0.669 0.731
vm1_not* 0.371 0.373
vm1_rescue* 0.230 0.256
vm1_simplereturn* 1.260 1.455
vm1_swap* 0.394 0.393
vm1_yield* 1.324 1.507
vm2_array* 1.028 0.985
vm2_bigarray* 7.746 8.019
vm2_bighash* 7.570 7.132
vm2_case* 0.184 0.185
vm2_defined_method* 4.064 4.304
vm2_dstr* 2.385 2.438
vm2_eval* 26.989 25.001
vm2_method* 1.960 2.040
vm2_method_missing* 3.266 3.076
vm2_method_with_block* 2.194 2.234
vm2_mutex* 0.965 0.982
vm2_poly_method* 3.164 3.175
vm2_poly_method_ov* 0.247 0.241
vm2_proc* 0.664 0.660
vm2_raise1* 11.079 10.709
vm2_raise2* 15.547 14.952
vm2_regexp* 1.605 1.589
vm2_send* 0.423 0.429
vm2_super* 0.663 0.672
vm2_unif1* 0.263 0.265
vm2_zsuper* 0.707 0.687
vm3_backtrace 0.212 0.220
vm3_clearmethodcache 0.590 0.588
vm3_gc 1.102 1.106
vm_thread_alive_check1 0.108 0.115
vm_thread_create_join 2.759 2.970
vm_thread_mutex1 0.811 0.816
vm_thread_mutex2 2.912 1.577
vm_thread_mutex3 54.847 54.061
vm_thread_pass 0.350 0.474
vm_thread_pass_flood 0.104 0.114
vm_thread_pipe 0.323 0.314
vm_thread_queue 0.143 0.158
Speedup ratio: compare with the result of `ruby 2.2.0dev (2014-02-20 trunk 45059) [x86_64-linux]' (greater is better)
name built-ruby
app_answer 1.020
app_aobench 0.994
app_erb 1.015
app_factorial 0.946
app_fib 0.991
app_mandelbrot 1.031
app_pentomino 1.034
app_raise 1.056
app_strconcat 0.987
app_tak 0.893
app_tarai 0.979
app_uri 0.986
hash_flatten 0.965
hash_keys 1.016
hash_shift 0.661
hash_values 1.010
io_file_create 0.995
io_file_read 0.974
io_file_write 1.028
io_select 1.039
io_select2 1.002
io_select3 0.683
loop_for 1.014
loop_generator 0.973
loop_times 0.990
loop_whileloop 0.997
loop_whileloop2 0.906
so_ackermann 1.058
so_array 1.015
so_binary_trees 0.938
so_concatenate 1.011
so_count_words 0.953
so_exception 1.022
so_fannkuch 0.764
so_fasta 1.035
so_k_nucleotide 0.879
so_lists 1.038
so_mandelbrot 0.996
so_matrix 1.013
so_meteor_contest 0.984
so_nbody 0.953
so_nested_loop 1.001
so_nsieve 1.000
so_nsieve_bits 0.988
so_object 0.986
so_partial_sums 0.961
so_pidigits 0.997
so_random 0.867
so_reverse_complement 0.991
so_sieve 0.989
so_spectralnorm 1.082
vm1_attr_ivar* 1.021
vm1_attr_ivar_set* 1.051
vm1_block* 0.978
vm1_const* 0.868
vm1_ensure* 0.928
vm1_float_simple* 0.936
vm1_gc_short_lived* 1.028
vm1_gc_short_with_complex_long* 0.924
vm1_gc_short_with_long* 1.047
vm1_gc_short_with_symbol* 1.029
vm1_gc_wb_ary* 1.015
vm1_gc_wb_obj* 0.907
vm1_ivar* 0.984
vm1_ivar_set* 0.928
vm1_length* 1.020
vm1_lvar_init* 0.979
vm1_lvar_set* 1.285
vm1_neq* 0.915
vm1_not* 0.995
vm1_rescue* 0.900
vm1_simplereturn* 0.866
vm1_swap* 1.003
vm1_yield* 0.878
vm2_array* 1.044
vm2_bigarray* 0.966
vm2_bighash* 1.061
vm2_case* 0.992
vm2_defined_method* 0.944
vm2_dstr* 0.978
vm2_eval* 1.080
vm2_method* 0.961
vm2_method_missing* 1.062
vm2_method_with_block* 0.982
vm2_mutex* 0.982
vm2_poly_method* 0.996
vm2_poly_method_ov* 1.024
vm2_proc* 1.006
vm2_raise1* 1.034
vm2_raise2* 1.040
vm2_regexp* 1.010
vm2_send* 0.988
vm2_super* 0.987
vm2_unif1* 0.994
vm2_zsuper* 1.029
vm3_backtrace 0.964
vm3_clearmethodcache 1.004
vm3_gc 0.997
vm_thread_alive_check1 0.942
vm_thread_create_join 0.929
vm_thread_mutex1 0.993
vm_thread_mutex2 1.847
vm_thread_mutex3 1.015
vm_thread_pass 0.738
vm_thread_pass_flood 0.911
vm_thread_pipe 1.028
vm_thread_queue 0.909
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment