MCPcopy Create free account
hub / github.com/code-pushup/cli / isEnabled

Method isEnabled

packages/utils/src/lib/profiler/profiler.ts:127–129  ·  view source on GitHub ↗

* Is profiling enabled? * * Profiling is enabled by setEnabled call or `CP_PROFILING` environment variable. * * @returns Whether profiling is currently enabled

()

Source from the content-addressed store, hash-verified

125 * @returns Whether profiling is currently enabled
126 */
127 isEnabled(): boolean {
128 return this.#enabled;
129 }
130
131 /**
132 * Creates a performance mark including payload for a Chrome DevTools 'marker' item.

Callers 6

markerMethod · 0.95
measureMethod · 0.95
measureAsyncMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected