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