[rubygems/rubygems] Use a constant empty tar header to avoid extra allocations
[ruby.git] / benchmark / vm_freezeobj.yml
blob69a795a35403c0353f7779412a13b0826daf4140
1 prelude: |
2  objs = 100000.times.map { Object.new }
3 benchmark:
4   vm_freeze_obj: |
5     objs.map(&:freeze)
6 loop_count: 600