title: How big is pprof import overhead in go
body: <p>I have a couple of go programs that have a unused inport of <code>net/http/pprof</code> in them.</p>
  
  <pre><code>import _ "net/http/pprof"
  ...
  //http.ListenAndServe("127.0.0.1:6060", nil)
  </code></pre>
  
  <p>I was wondering what the overhead of this import is in term of CPU and Mem. Aka. Should I remove then in prod (yes), but what would be the impact if I forgot?</p>
  
  <p>Related: what are the exact sideeffects of this import? It registers some http handlers, but does it also inject things in go's malloc functions?</p>