[rubygems/rubygems] Use a constant empty tar header to avoid extra allocations
[ruby.git] / benchmark / enum_sort.yml
blob6f26e748c61aab2e0e71ca68da05daf9527ce16f
1 prelude: |
2   set2 = 2.times.to_a.shuffle.to_set
3   set10 = 10.times.to_a.shuffle.to_set
4   set100 = 100.times.to_a.shuffle.to_set
5   set1000 = 1000.times.to_a.shuffle.to_set
6   set10000 = 10000.times.to_a.shuffle.to_set
8 benchmark:
9   set2.sort_by: set2.sort_by { 0 }
10   set10.sort_by: set10.sort_by { 0 }
11   set100.sort_by: set100.sort_by { 0 }
12   set1000.sort_by: set1000.sort_by { 0 }
13   set10000.sort_by: set10000.sort_by { 0 }
15 loop_count: 10000