summaryrefslogtreecommitdiff
path: root/benchmark/vm2_struct_small_aref.yml
blob: 83381bed3af3224da5c0359e4deba586cbe029b9 (plain)
1
2
3
4
5
6
7
prelude: |
  s = Struct.new(:a, :b, :c)
  x = s.new
benchmark:
  vm2_struct_small_aref: |
    x.a
loop_count: 6000000