octanejs/octane✦ 精选0°

performance-audit

仓库创建 2026年6月23日最近提交 2 小时前SkillHot 收录 1 小时前
▸ 精选理由

覆盖基准与热路径分析,适合性能回归调查。

▸ 风险提示

运行基准可能消耗大量资源并需要可重复环境。

这个 Skill 做什么

对 Octane 的性能回归或基准结果进行审计和辩护。

用来排查和论证 Octane 性能问题或基准结果何时是回归。遇到每次渲染、每个节点、编译输出、SSR、hydration 或打包体积等疑似变慢的情况就会用它,它会看 benchmark、runtime、compiler output 和 scheduler/reconciler 的开销并给出结论或优化建议。特别之处是会结合仓库里现有的基准脚本和 runtime 注释做深度分析,避免误判。

▸ 展开 SKILL.md 英文原文

Audit or defend Octane performance. Use when a change can affect per-render, per-node, compiler-output, SSR, hydration, or bundle cost, or when asked whether something is fast enough.

开发编程性能分析基准调优通用
1.2k
Stars
41
Forks
40
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/octanejs/octane/main/.cursor/skills/performance-audit/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/octanejs/octane/main/.cursor/skills/performance-audit/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Skill: Octane performance audit

Use this to investigate performance regressions, benchmark results, scheduler/reconciler overhead, compiler output quality, or ecosystem binding perf.

## Read first

- Benchmark README in the affected `benchmarks/*` directory
- `packages/octane/src/runtime.ts` comments for runtime-level changes
- Existing benchmark scripts in `benchmarks/*/package.json` and `run.mjs`

## Workflow

1. **Define target**
   - Scenario: mount, update, keyed reorder, context, effects, Suspense, hydration, SSR, binding package.
   - Metric: runtime duration, allocations, DOM operations, bundle size, compiler output size, benchmark score.
   - Baseline: current `main`, previous c
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有