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

ruby-changes:45306

From: nobu <ko1@a...>
Date: Fri, 20 Jan 2017 11:27:33 +0900 (JST)
Subject: [ruby-changes:45306] nobu:r57379 (trunk): benchmarks for Bug#13136

nobu	2017-01-20 11:27:28 +0900 (Fri, 20 Jan 2017)

  New Revision: 57379

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

  Log:
    benchmarks for Bug#13136

  Added files:
    trunk/benchmark/bm_array_sample_100k_10.rb
    trunk/benchmark/bm_array_sample_100k_11.rb
    trunk/benchmark/bm_array_sample_100k__100.rb
    trunk/benchmark/bm_array_sample_100k__1k.rb
    trunk/benchmark/bm_array_sample_100k__6k.rb
    trunk/benchmark/bm_array_sample_100k___10k.rb
    trunk/benchmark/bm_array_sample_100k___50k.rb
Index: benchmark/bm_array_sample_100k_10.rb
===================================================================
--- benchmark/bm_array_sample_100k_10.rb	(revision 0)
+++ benchmark/bm_array_sample_100k_10.rb	(revision 57379)
@@ -0,0 +1,2 @@ https://github.com/ruby/ruby/blob/trunk/benchmark/bm_array_sample_100k_10.rb#L1
+arr = [*0...100000]
+10_000.times {arr.sample 10}

Property changes on: benchmark/bm_array_sample_100k_10.rb
___________________________________________________________________
Added: svn:eol-style
   + LF

Index: benchmark/bm_array_sample_100k___10k.rb
===================================================================
--- benchmark/bm_array_sample_100k___10k.rb	(revision 0)
+++ benchmark/bm_array_sample_100k___10k.rb	(revision 57379)
@@ -0,0 +1,2 @@ https://github.com/ruby/ruby/blob/trunk/benchmark/bm_array_sample_100k___10k.rb#L1
+arr = [*0...100000]
+10_000.times {arr.sample 10_000}

Property changes on: benchmark/bm_array_sample_100k___10k.rb
___________________________________________________________________
Added: svn:eol-style
   + LF

Index: benchmark/bm_array_sample_100k__100.rb
===================================================================
--- benchmark/bm_array_sample_100k__100.rb	(revision 0)
+++ benchmark/bm_array_sample_100k__100.rb	(revision 57379)
@@ -0,0 +1,2 @@ https://github.com/ruby/ruby/blob/trunk/benchmark/bm_array_sample_100k__100.rb#L1
+arr = [*0...100000]
+10_000.times {arr.sample 100}

Property changes on: benchmark/bm_array_sample_100k__100.rb
___________________________________________________________________
Added: svn:eol-style
   + LF

Index: benchmark/bm_array_sample_100k__1k.rb
===================================================================
--- benchmark/bm_array_sample_100k__1k.rb	(revision 0)
+++ benchmark/bm_array_sample_100k__1k.rb	(revision 57379)
@@ -0,0 +1,2 @@ https://github.com/ruby/ruby/blob/trunk/benchmark/bm_array_sample_100k__1k.rb#L1
+arr = [*0...100000]
+10_000.times {arr.sample 1000}

Property changes on: benchmark/bm_array_sample_100k__1k.rb
___________________________________________________________________
Added: svn:eol-style
   + LF

Index: benchmark/bm_array_sample_100k_11.rb
===================================================================
--- benchmark/bm_array_sample_100k_11.rb	(revision 0)
+++ benchmark/bm_array_sample_100k_11.rb	(revision 57379)
@@ -0,0 +1,2 @@ https://github.com/ruby/ruby/blob/trunk/benchmark/bm_array_sample_100k_11.rb#L1
+arr = [*0...100000]
+10_000.times {arr.sample 11}

Property changes on: benchmark/bm_array_sample_100k_11.rb
___________________________________________________________________
Added: svn:eol-style
   + LF

Index: benchmark/bm_array_sample_100k___50k.rb
===================================================================
--- benchmark/bm_array_sample_100k___50k.rb	(revision 0)
+++ benchmark/bm_array_sample_100k___50k.rb	(revision 57379)
@@ -0,0 +1,2 @@ https://github.com/ruby/ruby/blob/trunk/benchmark/bm_array_sample_100k___50k.rb#L1
+arr = [*0...100000]
+10_000.times {arr.sample 50_000}

Property changes on: benchmark/bm_array_sample_100k___50k.rb
___________________________________________________________________
Added: svn:eol-style
   + LF

Index: benchmark/bm_array_sample_100k__6k.rb
===================================================================
--- benchmark/bm_array_sample_100k__6k.rb	(revision 0)
+++ benchmark/bm_array_sample_100k__6k.rb	(revision 57379)
@@ -0,0 +1,2 @@ https://github.com/ruby/ruby/blob/trunk/benchmark/bm_array_sample_100k__6k.rb#L1
+arr = [*0...100000]
+10_000.times {arr.sample 6000}

Property changes on: benchmark/bm_array_sample_100k__6k.rb
___________________________________________________________________
Added: svn:eol-style
   + LF


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

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