Sha256: 7b8d9fc8cbb2b93706860fbe3dc95d8854c210e88dedaf9698a0c8f5bb64882b
Contents?: true
Size: 210 Bytes
Versions: 1
Compression:
Stored size: 210 Bytes
Contents
Viiite.bench do |b| b.variation_point :ruby, Viiite.which_ruby b.range_over([100, 1000], :size) do |size| bench_case = Array.new(size) { rand } b.report(:"Array#sort") { bench_case.sort } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
viiite-0.2.0 | spec/fixtures/bdb/Array/bench_sort.rb |