go-performance

Community

Optimize Go program performance

Authorblacktop
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers measure, diagnose, and improve the performance of Go programs by identifying and resolving CPU, memory, and latency bottlenecks.

Core Features & Use Cases

  • Performance Measurement: Set up and run benchmarks using go test and benchstat.
  • Profiling: Collect and analyze CPU, heap, allocation, mutex, and block profiles using pprof.
  • Tracing: Generate and interpret execution traces for concurrency and scheduler issues.
  • Optimization Guidance: Provides best practices for code optimization, including algorithmic improvements and memory management.
  • Use Case: Diagnose why a critical Go service is experiencing high latency under load by profiling its CPU and memory usage, identifying the hot spots, and applying targeted optimizations.

Quick Start

Use the go-performance skill to benchmark the myFunction in the current directory and analyze the results.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: go-performance
Download link: https://github.com/blacktop/dotfiles/archive/main.zip#go-performance

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.