summaryrefslogtreecommitdiff
path: root/benchmark/vm_ivar_get_unintialized.yml
blob: 64db6a79a5072a5d529e6b02179453d3e398bc0f (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