agentleFS
qufei1993qufei1993/skills-hub/skills/dsh-speed-up-perf/SKILL.md

dsh-speed-up-perf

Skill1.8k starsChanged todayMITView on GitHub

调查性能问题或优化实际测量的用户路径时使用,建立优化前后对照,保留正确性、失败行为和真实运行证据。

Files
SKILL.md

优化实际测量的用户路径性能

阅读项目上下文和验证证据。明确真实负载和独立正确性判据前,不开始优化。

  1. 确定用户可见操作、入口、代表性输入规模、环境和性能现象。定义正确性、延迟或吞吐量,以及有关的峰值和保留内存指标。分开测冷启动与预热后的稳定状态。
  2. 在真实产物上建立基线。记录版本、构建、运行环境、输入、命令、重复次数和结果分布,不能只取最快一次;保留可观察输出。
  3. 用性能分析或测量代码定位怀疑的瓶颈,验证一个因果假设。加入错误对照,区分真正瓶颈、测量噪声和悄悄省略的工作。不得牺牲必需记录、顺序或错误行为。
  4. 实施有依据的最小优化。涉及缓存时,按生命周期验证缓存键是否完整、失效规则、存续时间和保留内存上限。
  5. 重新构建,在等价条件下复测;有帮助时交替测优化前后。独立验证输出等价和失败行为。变化可能在冷路径、热路径或内存之间产生取舍时,检查相应指标。同时报告收益和退步;噪声淹没差异时,说明改进尚未证实。

报告实际数字、测量条件、正确性证据和取舍。不得将复杂度估算、微基准测试或省略工作得到的结果,当作已经测得的端到端提升。

Download now (ZIP)

Trending

More talk lately.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 3 mentionsApr 2026: 3 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 1 mentionAug 2026: 0 mentionsSep 2026: 1 mentionOct 2026: 5 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the qufei1993/skills-hub repository that our weekly crawl found: only 13 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about qufei1993/skills-hub

The biggest 5 of 13 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 13

Talked about on GitHub and Hacker News (13 times).

On GitHub · 12

7 more on GitHub

On Hacker News · 1

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.