MCPcopy Create free account
hub / github.com/code-pushup/cli / profiler.unit.test.ts

File profiler.unit.test.ts

packages/utils/src/lib/profiler/profiler.unit.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { performance } from 'node:perf_hooks';
2import { threadId } from 'node:worker_threads';
3import { beforeEach, describe, expect, it, vi } from 'vitest';
4import type { ActionTrackEntryPayload } from '../user-timing-extensibility-api.type.js';

Callers

nothing calls this directly

Calls 7

getProfilerIdFunction · 0.85
getProfilerFunction · 0.85
measureMethod · 0.80
markerMethod · 0.80
measureAsyncMethod · 0.80
isEnabledMethod · 0.45
setEnabledMethod · 0.45

Tested by

no test coverage detected