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