diff options
Diffstat (limited to 'benchmark')
-rw-r--r-- | benchmark/array_sample.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/benchmark/array_sample.yml b/benchmark/array_sample.yml new file mode 100644 index 0000000000..4449ffd0e0 --- /dev/null +++ b/benchmark/array_sample.yml @@ -0,0 +1,5 @@ + +prelude: ary = (1..10_000).to_a +benchmark: + - ary.sample + - ary.sample(2) |