MCPcopy Create free account
hub / github.com/Noumena-Network/code / recordRenderTrace

Function recordRenderTrace

src/utils/renderTrace.ts:12–17  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

10}
11
12export function recordRenderTrace(name: string): void {
13 recordLivePromptTrace('render', { name })
14 const store = getRenderTraceStore()
15 if (!store) return
16 store.set(name, (store.get(name) ?? 0) + 1)
17}
18
19export function installRenderTrace(): {
20 reset: () => void

Callers 8

VirtualMessageListFunction · 0.85
TextInputFunction · 0.85
VimTextInputFunction · 0.85
MessagesImplFunction · 0.85
FullscreenLayoutFunction · 0.85
PromptInputFunction · 0.85
REPLFunction · 0.85
ReplPromptSurfaceFunction · 0.85

Calls 4

recordLivePromptTraceFunction · 0.85
getRenderTraceStoreFunction · 0.85
setMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected