dsh-performance
其他 活跃维护

dsh-performance

satan9394/dsh-performance

内置性能测量、瓶颈定位、缓存懒加载与性能预算管控能力,遵循测量先行的优化逻辑,轻量化集成即可快速落地端侧性能治理,减少优化试错开销。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
5 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:satan9394/dsh-performance
git clone https://github.com/satan9394/dsh-performance.git
git clone git@github.com:satan9394/dsh-performance.git
README.md main

dsh-performance

性能优化:测量先行、定位瓶颈、复杂度分析、缓存/懒加载、资源释放、性能预算。
先测量再优化——不测量的优化是猜测。

受 addyosmani/agent-skills
(88k★ MIT)的 performance-optimization 技能启发,改编为 DSH
中文原创精简版。

安装

dsh plugin --profile web add dsh-performance
# 或本地开发:dsh plugin --profile web add link:E:\DeepSeek_Harness\workspace\2026_08_15\plugins\dsh-performance
# 重启 dsh web 生效

使用

对 agent 说"太慢了,优化一下 / 性能分析",performance 技能按
测量 → 定位瓶颈 → 优化 → 验证回归 流程输出 before/after 对比报告。

结构

dsh-performance/
├── index.js           # 注册 skills/ 到 ctx.skills
├── cordis.patch.yml   # bundle patch 层
├── package.json       # dsh.bundle manifest
└── skills/performance/SKILL.md

License

MIT。原创精简改编,灵感来自 addyosmani/agent-skills(MIT)。