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
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…
x
Reference in New Issue
Block a user