SKILL

benchmark-optimization-loop

将“让它更快”的请求转为有边界、可测量的优化循环:先建立基线,生成各基于单个假设的变体,逐一在正确性关卡下进行基准测试,再用可复现命令选用最快的安全变体。适用于加速、尝试多个变体、递归优化、测量延迟/吞吐/成本,或通过反复测量选择最佳实现。

译文已校对
查看英文原文

Convert 'make it faster' requests into a bounded measured optimization loop — baseline first, generate one-hypothesis variants, benchmark each against a correctness gate, and promote the fastest safe variant with reproducible commands. Use when asked to speed something up, try many variants, run recursive optimization, benchmark latency/throughput/cost, or pick the best implementation by repeated measured tests.

适用对象:对象待分类。自动收录 · 待核查。

在 Codex 中使用

该组合的专门教程待补充,尚未核实适配。

准备条件

  • 本条仅收录原作者的技能元数据;请阅读完整说明,确认依赖、许可与使用条件。

选择已有说明的 AI 工具,或在页面加载后保存待办及提出教程请求。

查看原作者说明 ↗