Skip to content
Permalink
Browse files

Document the prof build tag

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
  • Loading branch information...
bowlofeggs authored and mergify committed Oct 1, 2019
1 parent 1293143 commit f5fa9b69786c7daecf64f8d0b7c7764d0fcd83e6
Showing with 14 additions and 0 deletions.
  1. +14 −0 README.md
@@ -86,6 +86,20 @@ To run the full test suite, run from the main directory:

$ go test ./...

repoSpanner has an optional inbuilt profiler that can be enabled at compile
time. If you wish to use it, compile repoSpanner with the prof tag, like this:

$ ./build.sh -tags prof

When repoSpanner starts, it will print a log message telling you how you
can access the profiling data, for example:

RUNNING PROFILING ON 0.0.0.0:8444

You can use `pprof` to interpret the data:

go tool pprof http://dev.example.com:8444

## Tests

The project comes with a decent functional test suite. Explore the

0 comments on commit f5fa9b6

Please sign in to comment.
You can’t perform that action at this time.