chao-go-perf - Analyze and optimize Go performance
Analyzes Go CPU, memory, GC, compiler, cache, and concurrency performance, then provides measurement-driven optimization recommendations.
Tags
Updated: 2026-10-06Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Diagnose CPU hotspots
- Analyze memory allocations
- Inspect escape analysis
- Evaluate compiler optimizations
- Optimize CPU cache usage
- Analyze concurrency performance
- Design and compare benchmarks
- Review performance anti-patterns
Inputs
- Go source code
- Benchmark results
- CPU profiles
- Memory profiles
- Mutex profiles
- Runtime traces
- Go version
- Performance symptoms
Outputs
- Performance analysis
- Optimization recommendations
- Benchmark validation methods
- Compiler flag verification methods
- Relevant code locations
Requirements
- Go toolchain
- Go benchmark support
- pprof support
- benchstat for statistical comparison
