AI AGENT ADDONS

Golang Benchmark

samber/cc-skills-golang
Testing & QA
33,170installs

Writing fast Go code starts with measuring it correctly. This skill helps you write benchmarks that give real, reliable results. You will learn how to use b.Loop() and avoid common mistakes that make benchmarks misleading.

Profiling is the next step after measuring. Use pprof to find hot paths and understand your CPU and memory usage. Then compare results with benchstat to see if your changes actually made things faster or slower.

You can even set up automatic checks in your CI pipeline to catch performance regressions early. For production apps, Prometheus runtime metrics help you monitor real-world performance over time.

Add Golang Benchmark skill to your workflow

Global

mkdir -p ~/.claude/skills/golang-benchmark

Project

mkdir -p .claude/skills/golang-benchmark

Source Repository

Stars
2,322
Forks
149
Watchers
2,322
License
MIT
Last Push
28 days ago
Created
4 months ago