MCPcopy
hub / github.com/webpack/webpack / setupBenchRun

Function setupBenchRun

test/BenchmarkTestCases.benchmark.mjs:565–570  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

563 codspeedRunnerMode === "memory" ? 2 : bench.iterations - 1;
564
565 const setupBenchRun = () => {
566 setupCore();
567 console.log(
568 `[CodSpeed] running with @codspeed/tinybench (${codspeedRunnerMode} mode, ${warmupIterations} warmup iterations)`
569 );
570 };
571 const finalizeBenchRun = () => {
572 teardownCore();
573 console.log(`[CodSpeed] Done running ${bench.tasks.length} benches.`);

Callers 1

withCodSpeedFunction · 0.85

Calls 1

logMethod · 0.80

Tested by

no test coverage detected