go-performance

Identifies and optimizes Go application bottlenecks using profiling and benchmarks.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/d3fvxl/.dotfiles --skill go-performance-d3fvxl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-performance
Source: https://github.com/d3fvxl/.dotfiles/tree/main/config/opencode/skills/go-performance
Command: npx skills add https://github.com/d3fvxl/.dotfiles --skill go-performance-d3fvxl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identify and optimize performance bottlenecks in Go applications.

Core Features & Use Cases

  • CPU profiling with go tool pprof to locate hot paths.
  • Memory profiling and allocation reduction guidance for Go services.
  • Benchmarking and optimization patterns for production-grade Go code.

Quick Start

Run a CPU and memory profile on your Go project to identify hot paths and allocations.

Frequently Asked Questions about go-performance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find performance bottlenecks in my Go application?

Benchmarking and optimization patterns help reduce memory allocations in Go services. By applying escape analysis and allocation reduction guidance, you can minimize heap allocations and optimize garbage collection pressure in production-grade Go code.

When should I use escape analysis for Go memory profiling?

Escape analysis should be used during Go memory profiling to determine which variables are allocated on the heap versus the stack. This identifies allocation-heavy code paths, enabling targeted reduction of memory overhead in production Go services.

What's the best way to optimize hot paths in Go projects?

The best way to optimize hot paths in Go projects is combining CPU profiling with pprof and benchmarking tooling. This identifies critical execution routes, allowing you to apply inlining strategies and allocation reduction for maximum performance.

Do I need benchmark tooling to improve Go service performance?

Yes, benchmark tooling is required to effectively improve Go service performance. Benchmarks measure the impact of optimization patterns on hot paths and allocations, providing concrete data to validate that tuning efforts actually reduce CPU and memory overhead.