summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm2_defined_method.rb
blob: ad7555b37917d8a529560e1441d0557afc2a0cfe (plain)
1
2
3
4
5
6
7
8
9
class Object
  define_method(:m){}
end

i=0
while i<6000000 # benchmark loop 2
  i+=1
  m; m; m; m; m; m; m; m;
end