ruby/benchmark/vm_struct_small_aref.yml

8 строки
117 B
YAML

prelude: |
s = Struct.new(:a, :b, :c)
x = s.new
benchmark:
vm_struct_small_aref: |
x.a
loop_count: 6000000