benchmark/range_last.yml: add benchmark cases
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fc7f990666
commit
bf6584b5d0
@ -1,4 +1,6 @@
|
||||
prelude: |
|
||||
range = 1..1_000_000
|
||||
range = (1..1_000_000)
|
||||
benchmark:
|
||||
range_last: range.last(1000)
|
||||
- (1..1_000_000).last(100)
|
||||
- (1..1_000_000).last(1000)
|
||||
- (1..1_000_000).last(10000)
|
||||
|
Loading…
x
Reference in New Issue
Block a user