# Go Benchmarking and Profiling

> Writes Go benchmarks, profiles them with pprof and proves each speedup with benchstat before you claim it.

- Page: https://youraiskill.com/skill/samber-golang-benchmark
- What it does: Golang benchmarking, profiling, and performance measurement. Use when writing, running, or comparing Go benchmarks, profiling hot paths with pprof, interpreting CPU/memory/trace profiles, analyzing results with benchstat, setting up CI benchmark regression detection, or investigating production performance with Prometheus runtime metrics. Also use when the developer needs deep analysis on a specific performance indicator - this skill provides the measurement methodology, while `samber/cc-skills-golang@golang-performance` provides the optimization patterns.
- Niches: coding, testing, backend
- Licence: MIT
- Status: Checked: open licence, author credited, passed the YourAISkill safety scan. Can be added to a paid pack.
- Contents: instructions and reference files only (10 files)

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
