If you're already looking at the pprof output, then you should be able to
identify one of the following:

* A function being called too many times
* Consumption of an external resource (database, filesystem, etc.) in a loop
* Failure to release memory (failing to close something)
* Code that is actually slow and could possibly be refactored

In general, loops are going to be suspect. Caching or memoization may help
as well.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to