diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-04 13:14:28 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-04 13:14:28 +0000 |
commit | f5b0f04d2ae2fdbf94f0a061a40693d84a863e0e (patch) | |
tree | 2d1c6c6ef5283ae28aeab244f9e1bf2607ea840a /benchmark/bm_vm4_pipe.rb | |
parent | 674a33edf51e5b5a47f78b2794500ad2e61c69c3 (diff) | |
download | ruby-f5b0f04d2ae2fdbf94f0a061a40693d84a863e0e.tar.gz |
* benchmark/bm_vm4_pipe.rb: Reduced iterations. Too slow benchmark
is bad.
* benchmark/bm_vm4_thread_pass.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/bm_vm4_pipe.rb')
-rw-r--r-- | benchmark/bm_vm4_pipe.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/bm_vm4_pipe.rb b/benchmark/bm_vm4_pipe.rb index d33c5223a9..272d231eba 100644 --- a/benchmark/bm_vm4_pipe.rb +++ b/benchmark/bm_vm4_pipe.rb @@ -1,7 +1,7 @@ # Mesure small and plenty pipe read/write. # A performance may depend on GVL implementation. -lmax = 1_000_000 +lmax = 100_000 r, w = IO.pipe [Thread.new{ lmax.times{ |