axiom-swift-performance - Optimize Swift Runtime and Memory Performance
Optimize Swift code by addressing copying, ARC overhead, generic specialization, concurrency, collections, and memory layout.
Tags
Updated: 2026-12-03Capabilities
What this skill does
- Optimize noncopyable types
- Reduce copy-on-write overhead
- Choose value or reference semantics
- Minimize ARC retain-release traffic
- Specialize performance-critical generic code
- Optimize collection operations
- Improve concurrency performance
- Optimize memory layout
Inputs
- Swift source code
- Profiler findings
- Performance requirements
- Data structures
- Target platform
Outputs
- Optimized Swift code
- Performance recommendations
- Memory usage improvements
- Runtime efficiency improvements
Requirements
- Swift 6.2 or later
- Xcode 16 or later
- iOS 18 or later
- macOS 15 or later
