dsh-latency-pct
Run the following command in DeepSeek Harness:
dsh plugin install uckkk/dsh-latency-pct
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install uckkk/dsh-latency-pct in DeepSeek Harness to install this plugin. Source code is available at https://github.com/uckkk/dsh-latency-pct.
About this plugin
In model-inference pipelines, average latency often masks the real experience of tail requests, yet percentile metrics such as P50, P95, and P99 are what actually define your SLO. Computing them by hand is tedious and error-prone, especially during rapid debugging cycles where you need a trustworthy number within seconds rather than minutes of scribbling throwaway scripts.
dsh-latency-pct ships a ready-in-session tool called latency_pct that computes latency percentiles with precise, parameter-driven calculation and returns detailed, structured results. The entire implementation is pure Node.js with zero network calls, so it runs reliably in fully offline environments and sidesteps the version drift and supply-chain risks that accompany external dependencies.
It is a good fit for ML engineers tuning or stress-testing inference pipelines, SREs managing SLO dashboards, and any developer who wants to grab a latency-distribution snapshot inside a conversational workflow. One invocation yields the percentile data you can trust, letting you focus on the model behavior that actually matters.
Use Cases
- Rapidly compute P95/P99 latency while debugging inference pipelines
- Get latency distribution data in fully offline environments
- Invoke the tool directly in-session without writing throwaway scripts
Best For
- ML engineers tuning inference pipelines
- SREs responsible for SLO compliance
- Developers who need quick percentile latency data
Related Plugins
ModLens is a vision plugin for DeepSeek Harness that gives text-only models sight by reading images pasted directly into chat, with zero-config setup and multiple vision engines.
On-demand vision for text-only DeepSeek Harness agents: built-in free keyless vision chain and 14 vision tools, routing image turns as tool calls to vision models with pixel fidelity, no Python needed, one-command install.
Give text-only models in DeepSeek Harness eyes, enabling image Q&A, long-screenshot OCR, UI restoration, and GUI visual tasks.
An armor-breaking plugin for DeepSeek: rewrites instruction priority, expands refusal-blocked phrases, persists across sessions, and shows a green active indicator.