aboutsummaryrefslogtreecommitdiffhomepage
path: root/benchmarks/README.md
diff options
context:
space:
mode:
authorGravatar BSBandme <chongyilun250@sina.com>2018-03-13 01:18:20 -0700
committerGravatar BSBandme <chongyilun250@sina.com>2018-03-13 01:18:20 -0700
commit6d2c6a0099e75eddacb8289053dd1cb96fc60368 (patch)
tree41e8cb34172c69baa7883be6dfa661359491b125 /benchmarks/README.md
parent4e3c41349383fa6275a18a1c9c462c209ab361a8 (diff)
some fix
Diffstat (limited to 'benchmarks/README.md')
-rw-r--r--benchmarks/README.md15
1 files changed, 9 insertions, 6 deletions
diff --git a/benchmarks/README.md b/benchmarks/README.md
index 183280ff..74c042d8 100644
--- a/benchmarks/README.md
+++ b/benchmarks/README.md
@@ -37,17 +37,20 @@ $ sudo apt-get install python3-dev
And you also need to make sure `pkg-config` is installed.
### Go
-Golang protobuf is under [golang repo](https://github.com/golang/protobuf), you
-need to install golang and golang protobuf's proto and protoc-gen-go before
-running the benchmark. And we're using [testing package](https://golang.org/pkg/testing/)
-to test benchmark.
+Go protobufs are maintained at [github.com/golang/protobuf](
+http://github.com/golang/protobuf). If not done already, you need to install the
+toolchain and the Go protoc-gen-go plugin for protoc.
+
+To install protoc-gen-go, run:
-To install golang protobuf proto and protoc-gen-go, you can
```
$ go get -u github.com/golang/protobuf/protoc-gen-go
-$ go get -u github.com/golang/protobuf/proto
+$ export PATH=$PATH:$(go env GOPATH)/bin
```
+The first command installs `protoc-gen-go` into the `bin` directory in your local `GOPATH`.
+The second command adds the `bin` directory to your `PATH` so that `protoc` can locate the plugin later.
+
### Big data
There's some optional big testing data which is not included in the directory