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