Example showing how to profile and optimize Go web applications.
The initial version is tagged as v1 and the optimized version is tagged as v2. Here is the link to compare these two versions.
You can find more details at http://artem.krylysov.com/blog/2017/03/13/profiling-and-optimizing-go-web-applications/.