benchmarks: document required Linux packages

To get the perf tool to work on Linux, you need to install
some packages. Document them in the README.

Change-Id: I00333d94e1eb8fccddf4cdcdd69cb3156b71f40b
Reviewed-on: https://go-review.googlesource.com/73878
Reviewed-by: Ian Lance Taylor <iant@golang.org>
pull/1/head
Jeff R. Allen 2017-10-27 15:59:19 +02:00 committed by Ian Lance Taylor
parent d00fc10671
commit b3b4d975f4
1 changed files with 5 additions and 0 deletions

5
README
View File

@ -21,6 +21,11 @@ This format can be processed by tools like benchstat
(https://golang.org/x/perf/cmd/benchstat) and benchplot
(https://godoc.org/github.com/aclements/go-misc/benchplot).
Required extra tools:
For Linux, you need "perf". On Debian/Ubuntu, you can install
package "perf-tools-common" to get it. Run "perf" once with no
arguments to check if it requires additional packages to be installed.
To submit changes to this repository, see http://golang.org/doc/contribute.html.
[1] https://github.com/golang/proposal/blob/master/design/14313-benchmark-format.md