SKILL39.6K installs3.7K

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 indicator - this skill provides the measurement methodology, while `samber/cc-skills-golang@golang-performance` provides the optimization patterns.

Type
Skill
Author
samber
Category
Testing
GitHub stars
3.7K
Installs
39.6K
Last updated
November 1, 2026

Install

npx skills add https://github.com/samber/cc-skills-golang --skill golang-benchmark

Use cases


Frequently Asked Questions

Does this skill optimize slow Go code?

It focuses on measurement methodology; optimization patterns live in the separate samber/cc-skills-golang@golang-performance skill.

Which profiling tools does it cover?

It covers pprof for CPU, memory, and trace profiles, plus benchstat for analyzing results.

Can it monitor production performance?

Yes, it covers investigating production performance with Prometheus runtime metrics.


About this skill

Guides writing, running, and comparing Go benchmarks, profiling hot paths with pprof, and interpreting CPU, memory, and trace profiles. Fits into performance investigation work, from local benchmarking with benchstat to CI regression detection and production monitoring via Prometheus runtime metrics. Focuses on measurement methodology; optimization patterns live in the separate golang-performance skill.

Summary written with AI assistance from the project's public description.


Categories


More from samber


Similar Skills