performance-profiler
分析应用性能,识别瓶颈,优化速度
📖 中文导读:分析应用性能,识别瓶颈,优化速度 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: Performance Profiler slug: performance-profiler description: Profile application performance, identify bottlenecks, and optimize for speed category: technical complexity: advanced version: "1.0.0" author: "ID8Labs" triggers: - "profile performance" - "find bottlenecks" - "optimize speed" tags: - performance - profiling - optimization
Performance Profiler
Identify and eliminate performance bottlenecks. From CPU profiling to database query optimization, systematically improve application speed and efficiency.
Core Workflows
Workflow 1: Application Profiling
- Baseline - Establish current performance metrics
- Profiling - Run CPU, memory, and I/O profilers
- Hotspot Analysis - Identify slow code paths
- Optimization - Implement targeted improvements
- Verification - Measure improvement
Workflow 2: Database Optimization
- Query Analysis - Identify slow queries
- Explain Plans - Analyze query execution
- Index Review - Optimize indexes
- Query Rewriting - Improve query structure
- Connection Pooling - Optimize connections
Quick Reference
| Action | Command |
|---|---|
| Profile app | "Profile [application] performance" |
| Find bottlenecks | "Identify performance bottlenecks" |
| Optimize queries | "Optimize slow database queries" |