1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/benchmark/vm_send.yml

15 lines
163 B
YAML
Raw Normal View History

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