performance-investigation
Investigate performance regressions and find opportunities for optimization
DeepseekModel
官方收录技能
质量 优秀 · 90
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=sveltejs-svelte-agents-skills-performance-investigation-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name performance-investigation description Investigate performance regressions and find opportunities for optimization Quick start Start from a branch you want to measure (for example foo ). Run: pnpm bench:compare main foo If you pass one branch, bench:compare automatically compares it to main . Where outputs go Summary report: benchmarking/compare/.results/report.txt Raw benchmark numbers: benchmarking/compare/.results/main.json benchmarking/compare/.results/<your-branch>.json CPU profiles (per benchmark, per branch): benchmarking/compare/.profiles/main/*.cpuprofile benchmarking/compare/.profiles/main/*.md benchmarking/compare/.profiles/<your-branch>/*.cpuprofile benchmarking/compare/.profiles/<your-branch>/*.md The .md files are generated summaries of the CPU profile and are usually the fastest way to inspect hotspots. Suggested investigation flow Open benchmarking/compare/.results/report.txt and identify largest regressions first. For each high-delta benchmark, compare: benchmarking/compare/.profiles/main/<benchmark>.md benchmarking/compare/.profiles/<branch>/<benchmark>.md Look for changes in self/inclusive hotspot share in runtime internals ( runtime.js , reactivity/batch.js , reactivity/deriveds.js , reactivity/sources.js ). Make one optimization change at a time, then re-run targeted benches before re-running full compare. Fast benchmark loops Run only selected reactivity benchmarks by substring: pnpm bench kairo_mux kairo_deep kairo_broad kairo_triangle pnpm bench repeated_deps sbench_create_signals mol_owned Tests to run after perf changes Runtime reactivity regressions are most likely in runes runtime tests: pnpm test runtime-runes Helpful script For quick cpuprofile hotspot deltas between two branches: node benchmarking/compare/profile-diff.mjs kairo_mux_owned main foo This prints top function sample-share deltas for the selected benchmark. Practical gotchas bench:compare checks out branches while running. Avoid uncommitted changes (or stash them) so branch switching is safe. Each bench:compare run rewrites benchmarking/compare/.results and benchmarking/compare/.profiles .
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |