summaryrefslogtreecommitdiff
path: root/benchmark/vm2_method_missing.yml
blob: cbfb794b250c0acd75a7b6005ad66adc990f4bbf (plain)
1
2
3
4
5
6
7
8
9
10
11
prelude: |
  class C
    def method_missing mid
    end
  end

  obj = C.new
benchmark:
  vm2_method_missing: |
    obj.m; obj.m; obj.m; obj.m; obj.m; obj.m; obj.m; obj.m;
loop_count: 6000000