diff options
| author | Jeff Lowdermilk <jeffml@google.com> | 2015-05-14 15:12:45 -0700 |
|---|---|---|
| committer | Jeff Lowdermilk <jeffml@google.com> | 2015-05-15 18:56:38 -0700 |
| commit | e1d595ebbd61baebc62f6db3150ee5881e6e71a8 (patch) | |
| tree | bfc2d757febb970b7c98defe41467153fdd689dd /profiling.md | |
| parent | b67f72a3168e3be7368c968d93172a365bd84eb1 (diff) | |
Add ga-beacon analytics to gendocs scripts
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
Diffstat (limited to 'profiling.md')
| -rw-r--r-- | profiling.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/profiling.md b/profiling.md index 03b17766..1dd42095 100644 --- a/profiling.md +++ b/profiling.md @@ -32,3 +32,6 @@ to get 30 sec. CPU profile. ## Contention profiling To enable contention profiling you need to add line ```rt.SetBlockProfileRate(1)``` in addition to ```m.mux.HandleFunc(...)``` added before (```rt``` stands for ```runtime``` in ```master.go```). This enables 'debug/pprof/block' subpage, which can be used as an input to ```go tool pprof```. + + +[]() |
