benchmark-analyzer
CommunityIdentify bottlenecks and optimize Go benchmarks.
Authorkis9a
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Go benchmarks are often missing or poorly representative; this Skill runs benchmarks, analyzes ns/op, B/op, and allocs/op, identifies bottlenecks, and proposes practical optimizations.
Core Features & Use Cases
- Benchmark discovery: detects existing Benchmark functions in tests
- Automated run: executes go test -bench=. -benchmem -benchtime=3s
- Results analysis: interprets ns/op, B/op, allocs/op and identifies hot paths
- Optimization guidance: provides concrete, trade-off aware improvement suggestions
- Report: outputs a Markdown analysis with results and recommendations
Quick Start
Run benchmark-analyzer on your package to generate a report and suggested optimizations; review and apply changes as appropriate.
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: benchmark-analyzer Download link: https://github.com/kis9a/claude-skills-demo/archive/main.zip#benchmark-analyzer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.