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