MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / render-memo.bench.ts

File render-memo.bench.ts

apps/kimi-code/test/tui/render-memo.bench.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Benchmark for the message-component render cache (Phase 1 + 1.5).
3 *
4 * Measures the cost of re-rendering a long transcript when *nothing* has

Callers

nothing calls this directly

Calls 4

setRenderCacheEnabledFunction · 0.90
buildGutterFunction · 0.85
buildMessagesFunction · 0.70
renderMethod · 0.65

Tested by

no test coverage detected