MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / snapshot.perf.test.ts

File snapshot.perf.test.ts

packages/server/test/snapshot.perf.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Tiny standalone perf check for the snapshot reader. Boots a real daemon,
3 * creates 50 sessions to populate the workdir index, then times the snapshot
4 * endpoint on a target session across 20 iterations and prints p50/p95.

Callers

nothing calls this directly

Calls 8

startServerFunction · 0.90
fixedTokenAuthFunction · 0.90
timeSnapshotFunction · 0.85
quantileFunction · 0.85
postSessionFunction · 0.70
closeMethod · 0.65
logMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected