Merge pull request #13027 from lilic/benchmark-readme

tools/benchmark/README.md: Update installation as go get does not work
This commit is contained in:
Piotr Tabor 2021-05-31 10:37:49 +02:00 committed by GitHub
commit c7cbc6befa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,11 +2,13 @@
`etcd/tools/benchmark` is the official benchmarking tool for etcd clusters.
## Download and install
To get `benchmark` from the `main` branch via `go get`:
## Install
To install `benchmark` follow these steps.
```sh
$ go get go.etcd.io/etcd/tools/benchmark
# GOPATH should be set
$ ls $GOPATH/bin
benchmark
$ go get go.etcd.io/etcd/v3/tools/benchmark
$ benchmark --help
```
Last command should output of usage of `benchmark`.