MCPcopy
hub / github.com/vercel/next.js / cpu-profile.ts

File cpu-profile.ts

packages/next/src/server/lib/cpu-profile.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const privateCpuProfileName = process.env.__NEXT_PRIVATE_CPU_PROFILE
2const isCpuProfileEnabled = process.env.NEXT_CPU_PROF || privateCpuProfileName
3const cpuProfileDir = process.env.NEXT_CPU_PROF_DIR
4

Callers

nothing calls this directly

Calls 4

saveCpuProfileFunction · 0.85
requireFunction · 0.50
connectMethod · 0.45
onMethod · 0.45

Tested by

no test coverage detected