4.Performance
Go · 5 notes
- Unit Testing in Gohistorical
Testing package conventions, table-driven tests, subtests, race checks, fuzzing, and maintainable boundaries.
- 4.2 pprofhistorical
Profiling Go programs with CPU, heap, allocation, goroutine, mutex, and block profiles, plus a measurement-first workflow for finding performance bottlenecks.
- Go Benchmarkshistorical
Writing repeatable Go benchmarks and interpreting time, allocations, variance, and compiler effects.
- 4.4 Memory Leaks in Gohistorical
How Go programs retain memory through reachable objects, goroutine leaks, timers/channels, and non-Go memory, with a pprof-based diagnostic workflow.
- Go Runtime Tracehistorical
Tracing goroutine scheduling, blocking, GC, network/syscall events, and runtime execution over time.