perf-profile

仓库创建 2026年4月30日最近提交 3 天前SkillHot 收录 21 天前
▸ 精选理由

结合预算与优先级,便于工程化落实优化方案。

这个 Skill 做什么

提供结构化性能剖析流程,定位瓶颈并给出优化建议。

帮你把性能问题拆成可测的项:定位瓶颈、对照 FPS/内存/加载时间等预算去量化,再给出按优先级排序的优化建议。遇到帧率下降、内存飙高或发布前的性能回归时就跑,适合用来把问题变成可执行的修复清单。流程结构化,既有量化预算也会指出最该先修的热点,方便团队快速落地。

▸ 展开 SKILL.md 英文原文

Structured performance profiling workflow. Identifies bottlenecks, measures against budgets, and generates optimization recommendations with priority rankings.

开发编程性能剖析瓶颈识别优化优先级通用
65
Stars
7
Forks
40
仓库内 Skill
+9
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/striderZA/OpenCodeGameStudios/master/.agents/skills/perf-profile/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/striderZA/OpenCodeGameStudios/master/.agents/skills/perf-profile/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
## Phase 1: Determine Scope

Read the argument:

- System name → focus profiling on that specific system
- `full` → run a comprehensive profile across all systems

---

## Phase 2: Load Performance Budgets

Check for existing performance targets in design docs or AGENTS.md:

- Target FPS (e.g., 60fps = 16.67ms frame budget)
- Memory budget (total and per-system)
- Load time targets
- Draw call budgets
- Network bandwidth limits (if multiplayer)

---

## Phase 3: Analyze Codebase

**CPU Profiling Targets:**
- `_process()` / `Update()` / `Tick()` functions — list all and estimate cost
- Nested loops over large collections
- String operations in hot paths
- Allocation patterns in per-frame code
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有