diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-17 09:57:47 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-17 09:57:47 +0000 |
commit | f6e9452b23e4aeb84c2c3cd12eaa10d802115fa6 (patch) | |
tree | 31e4ceb881988fd9d59491e885b2027f4d9f7fff /ChangeLog | |
parent | 110d8d4f2cdb77e383278c954ad0cb1fc612baad (diff) |
* 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1,3 +1,21 @@ +Tue Mar 17 18:51:43 2015 Koichi Sasada <ko1@atdot.net> + + * 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. + Tue Mar 17 17:23:11 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> * dir.c (glob_helper): distinguish not-yet-stated and DT_UNKNOWN |