From 6d2c6a0099e75eddacb8289053dd1cb96fc60368 Mon Sep 17 00:00:00 2001 From: BSBandme Date: Tue, 13 Mar 2018 01:18:20 -0700 Subject: some fix --- benchmarks/README.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'benchmarks/README.md') 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 -- cgit v1.2.3