Go - Profiling & pprof
          Beginner 10/10
          Teacher 10/10
          Architect 10/10
        
        
        
        
CPU and Memory Profiles
import _ "net/http/pprof"
// then hit /debug/pprof endpoints when using default mux
CLI Profiling
go test -bench . -benchmem -cpuprofile cpu.out -memprofile mem.out
Analyze
go tool pprof cpu.out