MCPcopy Create free account
hub / github.com/TanStack/router / isCodSpeedAnalysis

Function isCodSpeedAnalysis

benchmarks/cpu-simulation.ts:11–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9 * measure one invocation after a few warmup calls instead of sampling.
10 */
11export function isCodSpeedAnalysis() {
12 const mode = codspeedRunnerMode()
13 return (
14 mode === 'simulation' || mode === 'instrumentation' || mode === 'memory'
15 )
16}
17
18/** Extra worker flags for CodSpeed CPU simulation, not walltime benchmarks. */
19export function cpuSimulationExecArgv() {

Callers 1

benchLifecycleFunction · 0.85

Calls 1

codspeedRunnerModeFunction · 0.85

Tested by

no test coverage detected