MCPcopy
hub / github.com/callumalpass/tasknotes / logMetric

Function logMetric

tests/performance/filterCache.performance.test.ts:105–109  ·  view source on GitHub ↗
(label: string, metric: Record<string, number>)

Source from the content-addressed store, hash-verified

103}
104
105function logMetric(label: string, metric: Record<string, number>): void {
106 if (process.env.TN_PERF_LOG === "1") {
107 process.stderr.write(`[filter-cache-perf] ${label} ${JSON.stringify(metric)}\n`);
108 }
109}
110
111function queryWithConditions(children: FilterQuery["children"]): FilterQuery {
112 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected