h2load: Simplify rate mode
This change simplifies rate mode as proposed idea as plan B in GH-382. In this change, we removed -C option. Instead, -c option is used to specify the number of connections to be made, and it is now required argument if more than 1 clients are required (this is usually the case). The number of requests made per connection is calculated simply by -n / -c. -n option is handled specially when --timing-script-file is used. If -n is used with --timing-script, it specifies the number of requests -each client will make rather than the total number of requests h2load -will perform across clients. This handling applies to rate mode too. We also clarified the sematics about distribution of rate among the threads.
Showing
This diff is collapsed.
Please register or sign in to comment