MCPcopy
hub / github.com/codeaashu/claude-code / report

Function report

web/lib/performance/metrics.ts:25–31  ·  view source on GitHub ↗
(metric: PerformanceMetric)

Source from the content-addressed store, hash-verified

23}
24
25function report(metric: PerformanceMetric): void {
26 if (process.env.NODE_ENV === "development") {
27 // eslint-disable-next-line no-console
28 console.debug("[perf]", metric.name, metric.value.toFixed(1), metric.rating ?? "");
29 }
30 sink(metric);
31}
32
33// ─── Core Web Vitals ────────────────────────────────────────────────────────
34

Callers 5

observeWebVitalsFunction · 0.85
markTimeToInteractiveFunction · 0.85
markFirstMessageRenderFunction · 0.85
loopFunction · 0.85

Calls 2

sinkFunction · 0.85
debugMethod · 0.45

Tested by

no test coverage detected