summaryrefslogtreecommitdiff
path: root/benchmark/array_sort_int.yml
blob: 7b9027ebf7edc97dd7c8dd14888280ca28c522e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
prelude: |
  ary2 = 2.times.to_a.shuffle
  ary10 = 10.times.to_a.shuffle
  ary100 = 100.times.to_a.shuffle
  ary1000 = 1000.times.to_a.shuffle
  ary10000 = 10000.times.to_a.shuffle

benchmark:
  ary2.sort: ary2.sort
  ary10.sort: ary10.sort
  ary100.sort: ary100.sort
  ary1000.sort: ary1000.sort
  ary10000.sort: ary10000.sort

loop_count: 10000