summaryrefslogtreecommitdiff
path: root/benchmark/vm_struct_big_href_hi.yml
blob: 09b764dd13ad6d2a84a5573fbc90910e6d941a9c (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_href_hi: |
    x[:z]
loop_count: 6000000