3 ms·
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 reso
by artursapek 13y 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.
- ewencp 13y agoThe golang folks did a nice write-up on profiling Go code: http://blog.golang.org/profiling-go-programs 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.
- artursapek 13y agoAh, thanks! I'll go through this.