diff options
Diffstat (limited to 'benchmark/bm_array_sample_100k_10.rb')
-rw-r--r-- | benchmark/bm_array_sample_100k_10.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmark/bm_array_sample_100k_10.rb b/benchmark/bm_array_sample_100k_10.rb new file mode 100644 index 0000000000..5f41ecc32b --- /dev/null +++ b/benchmark/bm_array_sample_100k_10.rb @@ -0,0 +1,2 @@ +arr = [*0...100000] +10_000.times {arr.sample 10} |