[rubygems/rubygems] Use a constant empty tar header to avoid extra allocations
[ruby.git] / benchmark / vm_gc_short_with_symbol.yml
blob129b8bf4ed2a17df5b1f6576f76ce1d31e7411f2
1 prelude: |
2   50_000.times{|i| sym = "sym#{i}".to_sym}
3   GC.start
4   GC.start
5 benchmark:
6   vm_gc_short_with_symbol: |
7     a = '' # short-lived String
8     b = ''
9     c = ''
10     d = ''
11     e = ''
12     f = ''
13 loop_count: 30000000