summaryrefslogtreecommitdiff
path: root/benchmark/vm_method_missing.yml
blob: 3da456c0bb59db799fa57f49062a3666b7a6155b (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:
  vm_method_missing: |
    obj.m; obj.m; obj.m; obj.m; obj.m; obj.m; obj.m; obj.m;
loop_count: 6000000