npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dsh-fast-mode

v1.7.16

Published

DeepSeek Harness’s own fast mode: the same model, half the output, up to twice as fast. Switches combine freely and stay prompt-side — never changes the model, reasoning effort, or the request body. Best measured 0.505x wall clock, −42% output tokens, 438

Downloads

7,720

Readme


一眼看完

30 对完整任务、同一模型同一设置,只差三个开关:

| 指标 | 结果 | |---|---| | 墙钟耗时 | 0.505×(快约一倍,30 对 26 对更快) | | 输出 token | −42%(16037 → 9380) | | 思考字符 | −51%(42380 → 20872) | | 任务质量 | 判分 438/438 全绿,30/30 运行通过 |

三个开关全开 + 面板默认项,是这套东西最快的一档;只开闪电、不开三个新开关,全池 138 对是 0.823×(省 18 %)。

怎么装

dsh plugin install dsh-fast-mode

装完在会话里点闪电。右键闪电打开八行面板,只影响当前会话。

八个按钮在做什么

八个开关都是纯提示词侧:不加请求参数、不改模型、不改完成判定。前两个管输出,最后一个管上下文体积,中间五个管「怎么走」。

| 按钮 | 原理 | 默认 | |---|---|---| | 精简输出 | 不预告调用、不复述结果、不写进度,最终答案不缩水 | 开 | | 步数上限 | 硬上限,到点先汇报现状,不截断任务 | 不限 | | 开局附文件清单 | 开局把工作目录交给模型,省掉先跑一遍 ls/find | 关 | | 批量读文件 | 互不依赖的读取合成一批发出,少几个来回 | 关 | | 截短工具输出 | 只留头尾和报错行,长输出不再整段进上下文 | 关 | | 不确定先查证 | 拿不准就读一次;不是纯提速,省的是猜错后的重来 | 关 | | 先执行后解释 | 动手前最多一行计划;思考过 4000 字符时提醒「按证据动手」 | 关 | | 重复时换方法 | 同一调用重发、或连续三次结果一样时,提醒换条路 | 关 |

中间五个是 1.7.0 起的新机制,默认关,理由见下面的边界。截短工具输出 1.7.12 起进面板——它是唯一会改变模型所见证据的开关,所以默认关,且关掉就是原文。

Benchmark

三开关全开(trio17)vs 全关,同一批任务逐对比较,配对 bootstrap 4000 次:

| 实验块 | 对数 | 墙钟几何均值 | 95% 区间 | 更快 | |---|---|---|---|---| | DP17 | 12 | 0.647× | [0.501, 0.893] | 10/12 | | DP18 | 9 | 0.491× | [0.314, 0.788] | 8/9 | | DP20b(发布版) | 9 | 0.372× | [0.240, 0.563] | 8/9 | | 合池 | 30 | 0.505× | [0.401, 0.635] | 26/30 |

发布版那一块里,步数 13.2 → 6.7、墙钟 464.9 s → 173.1 s,三开在每一块都是唯一区间不跨 1 的臂。复现命令与原始数据在 BENCHMARK.md。

为什么能快,以及哪里不会快

一步的耗时 ≈ 往返开销 × 步数 + 解码时间 × 输出 token + 工具等待。模型不在这个式子里,所以这里只动程序量:少几次往返、少几轮回头读、少写重复的编辑。

  • 有些情况会变慢,别指望它全场景加速。 1–5 步的小改修和数据整形收不回成本(perfrefactor 1.18×、csvpipe 1.12×),实现类任务偶尔多绕一步(DP20 有一对 1.04×)。
  • 质量优先。 每个采纳的批次里两臂隐藏断言逐格相同;安全校验、数据删除、无障碍这些场景永远走完整验证,不做提速。
  • 开关在你手里。 默认只开「精简输出」;三个新开关默认关,因为它们的收益按任务形状波动,不适合替所有人默认决定。

推荐:大多数时候三个全开。想稳一点只开「不确定先查证」;最在意思考链过长就开「先执行后解释」;「重复时换方法」单开实测等于没变(1.007×,十二个会话只触发 3 次),放在组合里无害。

自己量一遍

上面的数字都来自本仓库的 bench,换到你的机器和你的任务上未必一样。先 node audit/run.mjs --dry-run --cwd <仓库> --tasks <清单> 看它要展开成什么命令,去掉 --dry-run 就是配对真跑(每任务每臂 3 轮),产物落在 audit-out/<时间戳>/:原始读数 pairs.jsonl 和带几何均值比与区间的人看报告 report.md。配对数不足 6 时报告只写「样本不足,不做结论」。

方法与结论边界见 docs/AUDIT.md,清单怎么写见 audit/tasks.example.jsonl,agent 操作手册见 skills/fast-mode-audit/SKILL.md。

许可

MIT。参考手册见 docs/REFERENCE.md,逐版改动见 CHANGELOG.md。