golang-benchmark
samber/cc-skills-golang
A comprehensive guide for Go developers covering the entire performance measurement lifecycle. Learn how to write rigorous benchmarks using b.Loop(), track memory allocations, run tests with various flags (e.g., -benchmem, -cpuprofile), and analyze results using profiling tools like pprof and benchstat. Ideal for ensuring code stability, detecting regressions, and optimizing critical paths.