BigHugger
sk Skill · samber

golang-benchmark

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…

installs 8w
4,250
30-day movement
starts with the next reading
Related entries
1
Connections
0
gobashGo

An agent skill (SKILL.md) that guides an AI coding agent through Go benchmarking, profiling, and performance measurement. It covers writing and running benchmarks, pprof profile interpretation, benchstat comparisons, CI regression detection, and Prometheus runtime metrics, with bundled reference files for each topic.

Reach for it when you need a rigorous measurement methodology for Go performance work, before applying optimization patterns from the companion golang-performance skill.

Use it to

  • Write and run Go benchmarks with b.Loop() and table-driven sub-benchmarks
  • Profile hot paths with pprof and interpret CPU, memory, and trace profiles
  • Compare optimization variants with benchstat and document results in commits
  • Set up CI benchmark regression detection
  • Investigate production performance with Prometheus Go runtime metrics

For Go developers using Claude Code or similar agent harnesses

Host repository
samber/cc-skills-golang
Version
1.3.2
Installs, lifetime
38k
Installs, 8 weeks
4,250
Compatible with
Designed for Claude Code, Codex or similar harness, and for projects using Golang.
Licence
MIT
Invocable by
user
Host stars
3,273
Host language
Go
topicsgolangbenchmarkingprofilingpprofbenchstatperformance