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:
parent
5710857456
commit
c121171525
1 changed files with 2 additions and 0 deletions
2
benchmark/bm_array_sort_float.rb
Normal file
2
benchmark/bm_array_sort_float.rb
Normal file
|
@ -0,0 +1,2 @@
|
|||
arr = Array.new(1000) { rand }
|
||||
10000.times { arr.sort }
|
Loading…
Reference in a new issue