MCPcopy
hub / github.com/callumalpass/tasknotes / PerformanceProfiler.test.ts

File PerformanceProfiler.test.ts

tests/unit/utils/PerformanceProfiler.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createTaskNotesPerformanceProfiler } from "../../../src/utils/PerformanceProfiler";
2
3describe("TaskNotesPerformanceProfiler", () => {
4 it("does not collect timings while disabled", () => {

Callers

nothing calls this directly

Calls 10

enableMethod · 0.80
incrementMethod · 0.80
recordGaugeMethod · 0.80
snapshotMethod · 0.65
startMethod · 0.65
endMethod · 0.65
measureSyncMethod · 0.45
resetMethod · 0.45
measureAsyncMethod · 0.45

Tested by

no test coverage detected