应用性能定位与前后对比
原名:performance-profiler
先建立性能基线,再检查 CPU、内存、I/O 和构建产物的风险线索。
中文 Skills 技能说明
页面慢或接口卡顿,先量再改。提供复现环境、版本、负载、日志和监测口径,技能结合本地风险扫描、性能采样与分析指南,整理 CPU、内存、查询和包体线索,交付排查顺序及前后对比表。包内静态工具不能替代火焰图或压测,py-spy、pprof、k6 等按环境另配。性能提升必须有同口径实测,不能凭感觉报倍数;日志脱敏,负载测试需限定目标和成本,生产操作及代码变更由负责人批准。
上游能力依据
上游原始适用说明:Systematic performance profiling for Node.js, Python, and Go applications. Identifies CPU, memory, and I/O bottlenecks, generates flamegraphs, analyzes bundle sizes, optimizes database queries, runs load tests with k6 and Artillery. Always measures before and after. Use when investigating a slow endpoint, planning a performance budget, or hunting a memory leak in production.
上游 SKILL.md 主要章节(保留原文标题):
- Overview
- Core Capabilities
- When to Use
- Quick Start
- Golden Rule: Measure First
- Node.js Profiling
- References
使用边界
先复现问题并固定测试范围,再生成或执行测试。测试通过只能证明已覆盖的场景,不能代替生产环境验收。
作者、翻译与许可证
- 原作者
- Alireza Rezvani 与 claude-skills contributors
- 中文翻译
- CEOFans翻译
- 许可证
- MIT
- 上游来源
- https://github.com/alirezarezvani/claude-skills/tree/27cfcd0fb0a41f60adffcbd5271fdf8839f86ed2/engineering/skills/performance-profiler
适用范围
平台:linux、macos、windows;标签:测试与质量、应用性能定位与前后对比、开源技能
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。