[前][次][番号順一覧][スレッド一覧]

ruby-changes:46221

From: mrkn <ko1@a...>
Date: Thu, 13 Apr 2017 17:09:12 +0900 (JST)
Subject: [ruby-changes:46221] mrkn:r58337 (trunk): Add a benchmark script for Array#sort of float array

mrkn	2017-04-13 17:09:06 +0900 (Thu, 13 Apr 2017)

  New Revision: 58337

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58337

  Log:
    Add a benchmark script for Array#sort of float array
    
    [Bug #13340]
    [ruby-dev:50023]

  Added files:
    trunk/benchmark/bm_array_sort_float.rb
Index: benchmark/bm_array_sort_float.rb
===================================================================
--- benchmark/bm_array_sort_float.rb	(nonexistent)
+++ benchmark/bm_array_sort_float.rb	(revision 58337)
@@ -0,0 +1,2 @@ https://github.com/ruby/ruby/blob/trunk/benchmark/bm_array_sort_float.rb#L1
+arr = Array.new(1000) { rand }
+10000.times { arr.sort }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]