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