Skip to content

Commit

Permalink
Merge pull request #152 from timowang1991/patch-1
Browse files Browse the repository at this point in the history
Fix option --total README description
  • Loading branch information
bojand authored Dec 23, 2019
2 parents baa5416 + 140581f commit f1a1161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/docs/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Number of requests to run concurrently. Total number of requests cannot be small

### `-n`, `--total`

The total number of requests to run. Default is `200`. The combination of `-c` and `-n` are critical in how the benchmarking is done. `ghz` takes the `-c` argument and spawns that many worker goroutines. In parallel these goroutines each do their share (`c / n`) requests. So for example with the default `-c 50 -n 200` options we would spawn `50` goroutines which in parallel each do `40` requests.
The total number of requests to run. Default is `200`. The combination of `-c` and `-n` are critical in how the benchmarking is done. `ghz` takes the `-c` argument and spawns that many worker goroutines. In parallel these goroutines each do their share (`n / c`) requests. So for example with the default `-c 50 -n 200` options we would spawn `50` goroutines which in parallel each do `4` requests.

### `-q`, `--qps`

Expand Down

0 comments on commit f1a1161

Please sign in to comment.