diff options
Diffstat (limited to 'benchmark/vm_thread_pass.rb')
| -rw-r--r-- | benchmark/vm_thread_pass.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmark/vm_thread_pass.rb b/benchmark/vm_thread_pass.rb index b5b3c0bc85..438bd08d45 100644 --- a/benchmark/vm_thread_pass.rb +++ b/benchmark/vm_thread_pass.rb @@ -1,8 +1,8 @@ -# Plenty Thtread.pass +# Plenty Thread.pass # A performance may depend on GVL implementation. -tmax = (ARGV.shift || 2).to_i -lmax = 200_000 / tmax +tmax = (ARGV.shift || 8).to_i +lmax = 400_000 / tmax (1..tmax).map{ Thread.new{ |
