rb: Increase the benchmark startup time and add more hooks
authorKevin Clark <kclark@apache.org>
Wed, 18 Jun 2008 01:19:46 +0000 (01:19 +0000)
committerKevin Clark <kclark@apache.org>
Wed, 18 Jun 2008 01:19:46 +0000 (01:19 +0000)
commitfdc9c976f9d219ee693674fe6a45fafe21796ac4
tree35e4eb76619df666a4c697e494641ac7a2a821e2
parente4644f11fa6054f15659c76debf40d9595e2ee17
rb: Increase the benchmark startup time and add more hooks

You can now control the number of clients per proc and calls per client with THRIFT_NUM_CALLS and THRIFT_NUM_CLIENTS.
You can also instruct the clients to log exceptions with THRIFT_LOG_EXCEPTIONS=yes

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@669033 13f79535-47bb-0310-9956-ffa450edef68
lib/rb/benchmark/benchmark.rb
lib/rb/benchmark/client.rb
lib/rb/benchmark/server.rb