summaryrefslogtreecommitdiff
path: root/benchmark/vm_ivar_get_unintialized.yml
blob: a1ccfb06ce9cae3d8819e21570f3290ce587336f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
prelude: |
  class Example
    def read
      @uninitialized
    end
  end

  obj = Example.new
benchmark:
  vm_ivar_get_uninitialized: |
    obj.read
loop_count: 30000000