summaryrefslogtreecommitdiff
path: root/benchmark/vm_struct_big_aref_lo.yml
blob: c91af27fa5111c4823b61e6fa1983d150e914c53 (plain)
1
2
3
4
5
6
7
prelude: |
  s = Struct.new(*('a'..'z').map { |x| x.to_sym })
  x = s.new
benchmark:
  vm_struct_big_aref_lo: |
    x.k # x[10]
loop_count: 6000000