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

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