summaryrefslogtreecommitdiff
path: root/benchmark/vm_ivar_extended_obj_init.yml
blob: f054bab28273c8e2e342af72af51b10b2f8cbe8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
prelude: |
  class C
    def set_ivars
      @a = nil
      @b = nil
      @c = nil
      @d = nil
      @e = nil
    end
  end

  c = C.new
benchmark:
  vm_ivar_extended_obj_init: |
    c.set_ivars
loop_count: 30000000