m10-performance
CommunityBoost C++ speed via cache and allocation tuning
Author13eholder
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps locate and remove performance bottlenecks in C++ code by focusing on data locality, unnecessary heap allocations, and inefficient data layout, turning vague slowdowns into measurable improvements.
Core Features & Use Cases
- Allocation minimization: count and reduce heap allocations by reserving capacity, using stack storage or small string optimizations.
- Data locality and layout: prefer contiguous containers, reorder struct members to reduce padding, and flatten pointer-chasing graphs to improve cache friendliness.
- Measurement-driven optimization: use microbenchmarks and profilers to identify hotspots before making changes.
- Use Case: Improve a simulation or server that suffers from cache misses and allocation churn by converting linked structures to contiguous layouts, reducing allocations, and validating improvements with benchmarks.
Quick Start
Analyze my hot function for cache misses, count allocations, and recommend data layout and allocation changes with concrete microbenchmark suggestions.
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: m10-performance Download link: https://github.com/13eholder/Modern-Cpp-Skills/archive/main.zip#m10-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 223,000+ vetted skills library on demand.