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

  class CC < C
    def m a
      super
    end
  end

  obj = CC.new
benchmark:
  vm2_zsuper: |
    obj.m 10
loop_count: 6000000