summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm2_send.rb
blob: 6a3ab6fdabc5ed4e574b9fbca74ddbe407c31fdd (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