()
| 9 | * measure one invocation after a few warmup calls instead of sampling. |
| 10 | */ |
| 11 | export 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. */ |
| 19 | export function cpuSimulationExecArgv() { |
no test coverage detected