Hacker News new | ask | show | jobs
by artursapek 4469 days ago
I've been happily using Go to build a side project for a while, but I don't do anything special to profile the memory usage or optimize it. Do you have any resources you recommend for learning more about it? You seem to know a good bit.
1 comments

The golang folks did a nice write-up on profiling Go code: http://blog.golang.org/profiling-go-programs and it covers both CPU and heap profiling. They've incorporated Google's perftools directly with Go which makes the whole process very pleasant compared to what you'd need to do for many other languages.
Ah, thanks! I'll go through this.