summaryrefslogtreecommitdiff
path: root/benchmark/vm_send.yml
blob: f31bc7ac89da53cf8db5fb96cefc4b48b90114d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
prelude: |
  class C
    def m
    end
  end

  o = C.new
  m = :m
benchmark:
  vm_send: |
    o.__send__ :m
  vm_send_var: |
    o.__send__ m
loop_count: 6000000