ruby-changes:54506
From: mrkn <ko1@a...>
Date: Sat, 5 Jan 2019 19:07:47 +0900 (JST)
Subject: [ruby-changes:54506] mrkn:r66721 (trunk): benchmark/range_last.yml: add a benchmark of Range#last
mrkn 2019-01-05 19:07:40 +0900 (Sat, 05 Jan 2019) New Revision: 66721 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66721 Log: benchmark/range_last.yml: add a benchmark of Range#last [ci skip] Added files: trunk/benchmark/range_last.yml Index: benchmark/range_last.yml =================================================================== --- benchmark/range_last.yml (nonexistent) +++ benchmark/range_last.yml (revision 66721) @@ -0,0 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/benchmark/range_last.yml#L1 +prelude: | + range = 1..1_000_000 +benchmark: + range_last: range.last(1000) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/