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

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