cpp-performance - Detect and fix C++ performance smells in the codebase
Detects and fixes C++ performance smells including unnecessary allocations, bad container choices, expensive synchronization, and hot path issues.
Tags
Updated: 2026-09-23Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Detect C++ performance smells
- Suggest optimal containers and algorithms
- Identify unnecessary copies and allocations
- Guide profiling and benchmark measurement
Inputs
- C++ source code
- Profiling data or benchmark logs
Outputs
- Performance optimization recommendations
- Refactored C++ code
Requirements
- C++20 toolchain
- Profiling tools such as perf, Instruments, or WPA
