Skip to content
Back to skills

Performance Profiler

ASecurity

分析代码性能,识别瓶颈并提供优化建议。

  • 14 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 7, 2026
code-qualityperformance

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill performance-profiler --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Performance Profiler?

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

Security grade badge for Performance Profiler
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-performance-profiler/badge)](https://www.skillsdirectory.com/skills/modbender-performance-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: Performance Profiler
description: 分析代码性能,识别瓶颈并提供优化建议。
---

# Performance Profiler

分析代码性能,识别瓶颈并提供优化建议。

## 功能

- 循环性能分析
- 重复计算检测
- 同步阻塞识别
- 复杂度计算
- 优化建议生成

## 触发词

- "性能分析"
- "性能瓶颈"
- "performance"
- "优化建议"

## 检测问题

- 循环内数组操作
- 重复的函数调用
- 同步阻塞操作
- 内存泄漏风险

## 输出示例

```json
{
  "issues": [
    {
      "type": "loop_push",
      "location": "line 42",
      "suggestion": "使用数组推导式或预先分配"
    }
  ],
  "complexity": "O(n²)",
  "score": 75
}
```

Files in this skill

  • SKILL.md754 B
  • skill.yaml912 B

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…