summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm2_send.rb
blob: f940e7ac190f197887461106e359b2980e1a23d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class C
  def m
  end
end

o = C.new

i = 0
while i<6_000_000 # benchmark loop 2
  i+=1
  o.__send__ :m
end