Skip to content

Commit

Permalink
Add note about measurement to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bojand committed Nov 1, 2019
1 parent 2592074 commit 6feb143
Show file tree
Hide file tree
Showing 2 changed files with 3 additions 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 @@ -24,7 +24,7 @@ If no `-proto` or `-protoset` options are used, we attempt to perform server ref

### `--call`

A fully-qualified method name in 'package.Service/Method' or 'package.Service.Method' format. For example: `helloworld.Greeter.SayHello`.
A fully-qualified method name in 'package.Service/Method' or 'package.Service.Method' format. For example: `helloworld.Greeter.SayHello`. With regard to measurement, we use [WithStatsHandler](https://godoc.org/google.golang.org/grpc#WithStatsHandler) option to capture call metrics. Specifically we only capture the [End](https://godoc.org/google.golang.org/grpc/stats#End) event which contains stats when an RPC ends. This should include the download of the payload and deserializing of the data.

### `--cacert`

Expand Down
2 changes: 2 additions & 0 deletions www/docs/output.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ Explanation of the summary:
- `average` - The mathematical average computed by taking the _sum_ of the _individual_ response times of _all_ requests and dividing it by the total number of requests.
- `requests/sec` - Theoretical computed RPS computed by taking the total number of requests (successful and failed) and dividing it by the total duration of the test. That is: `count` / `total`.

With regard to measurement, we use [WithStatsHandler](https://godoc.org/google.golang.org/grpc#WithStatsHandler) option to capture call metrics. Specifically we only capture the [End](https://godoc.org/google.golang.org/grpc/stats#End) event which contains stats when an RPC ends. This should include the download of the payload and deserializing of the data.

### CSV

Alternatively with `-O csv` flag we can get detailed listing in csv format:
Expand Down

0 comments on commit 6feb143

Please sign in to comment.