1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add a benchmark script for Array#sort of float array

[Bug #13340]
[ruby-dev:50023]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
mrkn 2017-04-13 08:09:06 +00:00
parent 5710857456
commit c121171525

View file

@ -0,0 +1,2 @@
arr = Array.new(1000) { rand }
10000.times { arr.sort }