Skip to content
Back to skills

Perf Profiler

ASecurity

性能分析 - 识别瓶颈、生成优化建议

  • 876 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 26, 2026
code-quality

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add laolaoshiren/claude-code-skills-zh --skill perf-profiler --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Perf Profiler?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Perf Profiler
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/laolaoshiren-perf-profiler/badge)](https://www.skillsdirectory.com/skills/laolaoshiren-perf-profiler)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: perf-profiler
description: 性能分析 - 识别瓶颈、生成优化建议
---

# 性能分析助手

## 触发条件
当用户要求性能优化、分析性能、找瓶颈、优化速度时激活此技能。

## 分析维度

### 🖥️ 代码级
- 算法复杂度分析(O(n) vs O(n²))
- 内存使用模式
- 不必要的对象创建
- 同步阻塞 vs 异步

### 🗄️ 数据库级
- N+1 查询检测
- 缺失索引建议
- 慢查询分析
- 连接池配置

### 🌐 网络级
- 请求合并建议
- 缓存策略
- CDN 配置
- 压缩优化

## 输出格式
```
## ⚡ 性能分析报告

### 🔴 关键瓶颈(影响 >50%)
1. [文件:行号] O(n²) 嵌套循环
   优化方案:使用哈希表,O(n²) → O(n)

### 🟡 次要问题
...

### 📊 预期收益
- 优化前:~Xms
- 优化后:~Yms
- 提升:Z%
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.