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