go-performance
CommunitySpeed up Go apps with memory-efficient patterns.
Software Engineering#performance#benchmarking#go#memory-allocation#strings.Builder#sync.Pool#io-buffering
Authorjovermier
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill guides Go developers to reduce allocations, optimize string processing, and streamline I/O to achieve faster, more memory-efficient applications.
Core Features & Use Cases
- Memory allocation reduction: patterns and idioms that minimize allocations and GC pressure.
- Efficient string building: using strings.Builder to avoid O(n^2) string concatenation.
- Pooling and re-use: applying sync.Pool to reuse objects and reduce churn.
- Buffered I/O: employing bufio and buffered writers/readers to lower syscalls.
- Benchmarking focus: measuring improvements to validate optimizations with repeatable tests.
Quick Start
Apply these practices to an existing Go function by replacing repeated string concatenations with a strings.Builder, wrap frequently allocated objects with a sync.Pool, and switch to buffered I/O where appropriate.
Dependency Matrix
Required Modules
None requiredComponents
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/jovermier/cc-stack-marketplace/archive/main.zip#go-performance 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.