ruby-changes:45210
From: nobu <ko1@a...>
Date: Sun, 8 Jan 2017 10:46:17 +0900 (JST)
Subject: [ruby-changes:45210] nobu:r57283 (trunk): benchmarks for [Bug #13113] [ci skip]
nobu 2017-01-08 10:46:10 +0900 (Sun, 08 Jan 2017) New Revision: 57283 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57283 Log: benchmarks for [Bug #13113] [ci skip] Added files: trunk/benchmark/bm_vm2_module_ann_const_set.rb trunk/benchmark/bm_vm2_module_const_set.rb Index: benchmark/bm_vm2_module_ann_const_set.rb =================================================================== --- benchmark/bm_vm2_module_ann_const_set.rb (revision 0) +++ benchmark/bm_vm2_module_ann_const_set.rb (revision 57283) @@ -0,0 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/benchmark/bm_vm2_module_ann_const_set.rb#L1 +i = 0 +while i<6_000_000 # benchmark loop 2 + i += 1 + Module.new.const_set(:X, Module.new) +end Property changes on: benchmark/bm_vm2_module_ann_const_set.rb ___________________________________________________________________ Added: svn:eol-style + LF Index: benchmark/bm_vm2_module_const_set.rb =================================================================== --- benchmark/bm_vm2_module_const_set.rb (revision 0) +++ benchmark/bm_vm2_module_const_set.rb (revision 57283) @@ -0,0 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/benchmark/bm_vm2_module_const_set.rb#L1 +i = 0 +module M +end +$VERBOSE = nil +while i<6_000_000 # benchmark loop 2 + i += 1 + M.const_set(:X, Module.new) +end Property changes on: benchmark/bm_vm2_module_const_set.rb ___________________________________________________________________ Added: svn:eol-style + LF -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/