summaryrefslogtreecommitdiff
path: root/benchmark/vm_freezeobj.yml
blob: 69a795a35403c0353f7779412a13b0826daf4140 (plain)
1
2
3
4
5
6
prelude: |
 objs = 100000.times.map { Object.new }
benchmark:
  vm_freeze_obj: |
    objs.map(&:freeze)
loop_count: 600