mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-14 04:01:35 +00:00
Active Assistant reconnect benchmark
English | 中文
reconnect.bench.client.ts measures the production Client fold when a reconnect carries an unfinished 100,000-delta reasoning prefix. A compiled private adapter reaches ClientAssistantStream.replace() without adding product exports. Three fresh plain-Node workers synthesize the compact baseline before timing; replacement time and retained heap after forced GC have separate median budgets. The next dense live frame must still be accepted.
Build with pnpm run build:bench, then select benchmarks/active-stream-reconnect in vitest.bench.config.ts. This focused Node workload neither builds nor measures browser rendering. Frontend performance budgets records calibration and exclusions.