From: Kevin Clark Date: Wed, 18 Jun 2008 01:19:41 +0000 (+0000) Subject: rb: Drop the benchmark worker spawn delay to 0.01 X-Git-Tag: 0.2.0~519 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=e4644f11fa6054f15659c76debf40d9595e2ee17;p=common%2Fthrift.git rb: Drop the benchmark worker spawn delay to 0.01 git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@669032 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/rb/benchmark/benchmark.rb b/lib/rb/benchmark/benchmark.rb index 327be6ad..1adc73d2 100644 --- a/lib/rb/benchmark/benchmark.rb +++ b/lib/rb/benchmark/benchmark.rb @@ -65,7 +65,7 @@ class BenchmarkManager puts "Spawning benchmark processes..." @num_processes.times do spawn - sleep 0.05 # space out spawns + sleep 0.01 # space out spawns end collect_output @benchmark_end = Time.now # we know the procs are done here