summaryrefslogtreecommitdiff
path: root/benchmark/vm_ivar_set_subclass.yml
blob: 2653d36dedeedcb5b39b79bdc4271bbd39378927 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
prelude: |
  class A
    def initialize
      @a = nil
      @b = nil
      @c = nil
      @d = nil
      @e = nil
    end
  end
  class B < A; end
  class C < A; end
benchmark:
  vm_ivar_init_subclass: |
    B.new
    C.new
loop_count: 3000000