diff options
Diffstat (limited to 'benchmark/array_values_at_int.yml')
-rw-r--r-- | benchmark/array_values_at_int.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/benchmark/array_values_at_int.yml b/benchmark/array_values_at_int.yml new file mode 100644 index 0000000000..48bb0f7492 --- /dev/null +++ b/benchmark/array_values_at_int.yml @@ -0,0 +1,5 @@ +benchmark: + array_values_at_int: | + ary = Array.new(10000) {|i| i} + 100000.times { ary.values_at(500) } +loop_count: 1 |