1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/benchmark/range_last.yml
mrkn bf6584b5d0 benchmark/range_last.yml: add benchmark cases
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-06 00:46:35 +00:00

6 lines
137 B
YAML

prelude: |
range = (1..1_000_000)
benchmark:
- (1..1_000_000).last(100)
- (1..1_000_000).last(1000)
- (1..1_000_000).last(10000)