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

  class CC < C
    def m
      super()
    end
  end

  obj = CC.new
benchmark:
  vm_super: obj.m
loop_count: 6000000