aboutsummaryrefslogtreecommitdiffstats
path: root/benchmark/bm_vm2_module_const_set.rb
blob: f4d4c1b2e711f419cda1bc079d4d6eabb649c929 (plain)
1
2
3
4
5
6
7
8
i = 0
module M
end
$VERBOSE = nil
while i<6_000_000 # benchmark loop 2
  i += 1
  M.const_set(:X, Module.new)
end