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