TnzGit/dsh-live-perf-gauges ↗★ 0
dsh-live-perf-gauges
Live tok/s, TTFT, and prefill-speed gauges for DeepSeek Harness Web.
AI 분석
核心用途是在输入框下方实时展示模型生成的性能指标(如解码速度、首字时间等)。适合关注模型推理效率、响应延迟和性能表现的用户。
설치
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:TnzGit/dsh-live-perf-gaugesdsh-live-perf-gauges
An automotive-style live performance strip for DeepSeek Harness Web: decode throughput, TTFT, prefill throughput, and output-token progress under the composer.
What it measures
- Decode tok/s refreshes every 250 ms during generation. It is explicitly marked
~while it is inferred from streamed characters; it switches to exact provider output tokens when the step finishes. - TTFT is the elapsed time from
step/startto the first streamed text, reasoning, or tool-argument delta. - Prefill tok/s is prompt tokens divided by TTFT. It is estimated from DSH's context-pressure projection while a request is live, then corrected with provider-reported prompt tokens (
input + cache read + cache write) at completion. - Output follows the same estimate-then-exact rule.
The plugin never contacts a network service and never stores message text, prompts, tools, or credentials. It only projects timestamps, counts, and final token usage already present in the session event stream.
Install
dsh plugin --profile web add github:TnzGit/dsh-live-perf-gauges
Restart the running dsh web service, then hard-refresh the browser. The strip appears below the composer after the next model step begins.
Compatibility
Designed for the DSH 0.1.x Web profile and its standard conversation.composer.dock, sessionProjections, and contextPressure interfaces.
Development
npm test
This repository ships prebuilt dependency-free host and client entries, so users do not need an install-time build step.
License
MIT