benchmark: make concurrent requests configurable
authorRich Trott <rtrott@gmail.com>
Sat, 27 Jun 2015 05:11:30 +0000 (22:11 -0700)
committerRich Trott <rtrott@gmail.com>
Tue, 30 Jun 2015 06:01:53 +0000 (23:01 -0700)
commit05a73c0f259fd903622445b07bf9ce3f0d7a73a3
tree4670540c18e628b6b6a2d1ce11da800f82debaae
parentf52d73352eec7f1f74c188a2f9762d474c01c1f9
benchmark: make concurrent requests configurable

In http_bench.js, allow the concurrent requests per client
to be configurable.

This also changes the launch of clients to wait until all
forked servers are online. This eliminates spurious error
messages at the start of the run.

PR-URL: https://github.com/nodejs/io.js/pull/2068
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
benchmark/http_bench.js