[ruby-cvs:70984] k0kubun:r63893 (trunk): benchmark/vm1_*.yml: abstract away the while loop

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Mon Jul 9 01:28:35 JST 2018


k0kubun	2018-07-09 01:28:34 +0900 (Mon, 09 Jul 2018)

  New Revision: 63893

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63893

  Log:
    benchmark/vm1_*.yml: abstract away the while loop
    
    benchmark/driver.rb had removed the cost for while loop in benchmark/bm_vm1_*.rb,
    and benchmark_driver.gem can achieve the same thing with `loop_count`.
    
    But unfortunately current benchmark_driver.gem can't solve it only for vm1_yield.yml...

  Modified files:
    trunk/benchmark/driver.rb
    trunk/benchmark/vm1_attr_ivar.yml
    trunk/benchmark/vm1_attr_ivar_set.yml
    trunk/benchmark/vm1_block.yml
    trunk/benchmark/vm1_blockparam.yml
    trunk/benchmark/vm1_blockparam_call.yml
    trunk/benchmark/vm1_blockparam_pass.yml
    trunk/benchmark/vm1_blockparam_yield.yml
    trunk/benchmark/vm1_const.yml
    trunk/benchmark/vm1_ensure.yml
    trunk/benchmark/vm1_float_simple.yml
    trunk/benchmark/vm1_gc_short_lived.yml
    trunk/benchmark/vm1_gc_short_with_complex_long.yml
    trunk/benchmark/vm1_gc_short_with_long.yml
    trunk/benchmark/vm1_gc_short_with_symbol.yml
    trunk/benchmark/vm1_gc_wb_ary.yml
    trunk/benchmark/vm1_gc_wb_ary_promoted.yml
    trunk/benchmark/vm1_gc_wb_obj.yml
    trunk/benchmark/vm1_gc_wb_obj_promoted.yml
    trunk/benchmark/vm1_ivar.yml
    trunk/benchmark/vm1_ivar_set.yml
    trunk/benchmark/vm1_length.yml
    trunk/benchmark/vm1_lvar_init.yml
    trunk/benchmark/vm1_lvar_set.yml
    trunk/benchmark/vm1_neq.yml
    trunk/benchmark/vm1_not.yml
    trunk/benchmark/vm1_rescue.yml
    trunk/benchmark/vm1_simplereturn.yml
    trunk/benchmark/vm1_swap.yml
    trunk/benchmark/vm1_yield.yml


More information about the ruby-cvs mailing list