ruby/benchmark/vm_ivar_get_unintialized.yml

13 строки
172 B
YAML

prelude: |
class Example
def read
@uninitialized
end
end
obj = Example.new
benchmark:
vm_ivar_get_uninitialized: |
obj.read
loop_count: 30000000