()
| 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.`); |