Sep 4, 2019

[Go] Profiling

Reference:
https://www.youtube.com/watch?v=nok0aYiGiYA

If you know Intel Threading Building Blocks, Cilk, etc
should be amazed how hard/marvelous Go devs had these done into the language runtime.

With Dave Cheney's talk should feel familiar and consider if coded in C++/Intel TBB how much background knowledge should know beforehand.

And that's why in 2008 we advertised Go as a language with concurrency embedded.


https://golang.org/pkg/net/http/pprof/
https://blog.golang.org/profiling-go-programs

$ go tool pprof cpu.pprof
go tool pprof -http=:8080 cpu.pprof

$ go tool trace trace.out

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.