MCPcopy Create free account
hub / github.com/codeHappyDananx/SpecWave / perfLog

Function perfLog

src/utils/perf.ts:19–23  ·  view source on GitHub ↗
(event: string, data: Record<string, unknown> = {})

Source from the content-addressed store, hash-verified

17}
18
19export function perfLog(event: string, data: Record<string, unknown> = {}): void {
20 if (!isPerfEnabled()) return
21 const payload: PerfLogPayload = { event, source: 'renderer', ...data }
22 void window.electronAPI?.perfLog(payload)
23}

Callers 3

loadTaskProgressForNodesFunction · 0.90
loadFullTreeFunction · 0.90
loadProjectFunction · 0.90

Calls 1

isPerfEnabledFunction · 0.85

Tested by

no test coverage detected