[ruby-cvs:57134] ko1:r49985 (trunk): * benchmark/bm_vm1_gc_wb_ary(_promoted).rb: separate fastpath and

ko1 at ruby-lang.org ko1 at ruby-lang.org
Tue Mar 17 18:57:49 JST 2015


ko1	2015-03-17 18:57:47 +0900 (Tue, 17 Mar 2015)

  New Revision: 49985

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

  Log:
    * benchmark/bm_vm1_gc_wb_ary(_promoted).rb: separate fastpath and
      slowpath for WB.
      Before this change bm_vm1_gc_wb_ary.rb tried to check the performance
      for WB slowpath (making a reference from oldobj to newobj). However,
      from Ruby 2.2, 3 GCs are needed to promote new objects because
      only 3 age objects are promted objects.
      To compare fastpath and slowpath, introduce new "promoted" version
      benchmark.
      bm_vm1_gc_wb_ary.rb is for fastpath and
      bm_vm1_gc_wb_ary_promoted.rb is for slowpath.
    * benchmark/bm_vm1_gc_wb_obj(_promtoed).rb: ditto.

  Added files:
    trunk/benchmark/bm_vm1_gc_wb_ary_promoted.rb
    trunk/benchmark/bm_vm1_gc_wb_obj_promoted.rb
  Modified files:
    trunk/ChangeLog
    trunk/benchmark/bm_vm1_gc_wb_ary.rb
    trunk/benchmark/bm_vm1_gc_wb_obj.rb


More information about the ruby-cvs mailing list