~/talk

Seven ways to Profile Go Applications

Talkat Golang UK 2016 · on Thursday, 2016-08-18· [developer-experience]
slides:none on file

Seven concrete ways to profile Go: use shell time and tool exec to wrap compiler/linker commands (used while speeding the compiler by roughly 40%); enable runtime debug flags to watch GC churn; use pprof CPU/memory/block profiles (memory samples default to 1/8000 allocations and remember one profile at a time); run benchmarks via testing or the package profile for whole programs; attach net/http/pprof in production; use perf now that Go 1.7 exposes frame pointers; and capture go tool trace for goroutine-level timelines.

AI-written summary · about

  1. 0:00Introduction
  2. 1:08Time
  3. 5:34Go Debug
  4. 7:59Profilers
  5. 10:39Paperoff
  6. 17:40Debug Paperoff
  7. 19:39PeopleOff
  8. 21:47PerfPerfect
  9. 23:33Flame graphs
  10. 25:25Go Tool Trace
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.