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