电子书
- 编写和优化Go代码
- Go Optimizations 101
- https://github.com/dgryski/go-perfbook
- https://github.com/DataDog/go-profiler-notes
- https://github.com/bobstrecansky/HighPerformanceWithGo/
- https://github.com/caibirdme/hand-to-hand-optimize-go
Go package
文章
-
https://dave.cheney.net/high-performance-go-workshop/dotgo-paris.html
-
How to Write Benchmarks in Go : https://dave.cheney.net/2013/06/30/how-to-write-benchmarks-in-go
-
Debugging performance issues in Go programs : https://github.com/golang/go/wiki/Performance
-
Go execution tracer : https://blog.gopheracademy.com/advent-2017/go-execution-tracer/ (see also the The tracer design doc link)
-
A whirlwind tour of Go’s runtime environment variables (see godebug) : https://dave.cheney.net/2015/11/29/a-whirlwind-tour-of-gos-runtime-environment-variables
-
benchstat : https://godoc.org/golang.org/x/perf/cmd/benchstat
-
Making a Go program run 1.7x faster with a one character change
-
a tale of two stacks: optimizing gin’s panic recovery handler
-
Golang Quirks & Intermediate Tricks, Pt 1: Declarations, Control Flow, & Typesystem