//
Search across all documentation pages
10 pages in this section.
Learn Go's performance culture and tooling. Discover how to measure, profile, and optimize Go applications using benchmarks, pprof, and tracing.
Learn Go performance basics, including minimal benchmarks, allocation statistics with go test -benchmem, and testing.B for measuring function duration.
Optimize Go application performance by reducing memory allocations. Learn to pre-size slices and maps, use strings.Builder, and benchmark effectively.
Optimize Go application performance. Learn to measure before changing code, identify bottlenecks, and apply best practices in design reviews and postmortems.