diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-21 09:06:06 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-21 09:06:06 +0000 |
commit | 440ac81c905c21099b0366ff28eec5c34eab8283 (patch) | |
tree | 601ae1d9996dbdf96ac617e1277283cb8097aafe /benchmark | |
parent | 88de9fdb628583b515d16d2066034239f8489feb (diff) | |
download | ruby-440ac81c905c21099b0366ff28eec5c34eab8283.tar.gz ruby-440ac81c905c21099b0366ff28eec5c34eab8283.tar.xz ruby-440ac81c905c21099b0366ff28eec5c34eab8283.zip |
* vm.c: fix to recycle thread data (VM stack).
* thread.c: ditto.
* benchmark/bm_vm3_thread_create_join.rb: add loop count.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark')
-rw-r--r-- | benchmark/bm_vm3_thread_create_join.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/bm_vm3_thread_create_join.rb b/benchmark/bm_vm3_thread_create_join.rb index c459242b0..325a66d58 100644 --- a/benchmark/bm_vm3_thread_create_join.rb +++ b/benchmark/bm_vm3_thread_create_join.rb @@ -1,5 +1,5 @@ i=0 -while i<1000 # benchmark loop 3 +while i<100_000 # benchmark loop 3 i+=1 Thread.new{ }.join |