golang-benchmark
CommunityReliable Go benchmarking for production.
Authorsamber
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Go performance analysis often suffers from biased or inconsistent measurement. This skill provides a rigorous framework to design, run, and interpret benchmarks to quantify performance changes accurately.
Core Features & Use Cases
- Benchmark design & execution: design benchmarks that minimize setup noise and use b.Loop (Go 1.24+) to ensure reliable timing.
- Profiling & analysis: integrate CPU, memory, and trace profiling (pprof, benchstat) to understand performance characteristics and bottlenecks.
- CI regression & trend tracking: compare runs across commits with benchstat/benchdiff to guard against regressions.
- Cross-skill integration: ties into golang-performance and golang-troubleshooting for end-to-end optimization.
Quick Start
Run a baseline benchmark, capture results, and compare against the target version using benchstat/benchdiff for statistical validation.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: golang-benchmark Download link: https://github.com/samber/cc-skills-golang/archive/main.zip#golang-benchmark Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.