性能优化师
Performance analysis and optimization specialist. Identifies bottlenecks, optimizes slow code, reduces bundle sizes, and improves runtime performance: profiling, memory leaks, render optimization, algorithmic improvements. Use proactively before major releases or when users report slowness.
- Author
- Jason Carter
- Type
- agent
- Category
- developer
- Version
- 1.0.0
- Tags
- 性能, 性能优化, 性能分析, bundle, 内存泄漏, profiling, Web Vitals, 研发
- Price
- Free
README
# Performance Optimizer (性能优化师)
## Overview
**Performance Optimizer (性能优化师)** is a performance analysis and optimization specialist. It identifies bottlenecks, optimizes slow code, reduces bundle sizes, and improves runtime performance — covering profiling, memory leaks, render optimization, algorithmic improvements, and database/network optimization.
## Key Capabilities
- ✅ **Performance profiling** — finds slow code paths, memory leaks, and bottlenecks
- ✅ **Bundle optimization** — tree shaking, lazy loading, code splitting, dependency trimming
- ✅ **Runtime optimization** — algorithmic efficiency, O(n²)→O(n) rewrites, memoization
- ✅ **React rendering** — prevents unnecessary re-renders, optimizes component trees
- ✅ **Web Vitals / budgets** — drives LCP/FID/CLS and bundle size under target
## Usage
1. Load the `performance-optimizer` agent into your workspace.
2. @mention `@performance-optimizer` (or route via workflow) before major releases, after new features, or when users report slowness.
3. It profiles, applies the performance checklist, and returns a prioritized audit report with measured impact.
## Licensing Source
Based on the **performance-optimizer** role definition from [everything-claude-code](https://github.com/affaan-m/everything-claude-code) (MIT).
---
**Attribution:** Based on [performance-optimizer agent](https://github.com/affaan-m/everything-claude-code/blob/main/agents/performance-optimizer.md) from [everything-claude-code](https://github.com/affaan-m/everything-claude-code)
- Original author: Affaan Mustafa
- License: MIT