What to run
isol8 includes multiple benchmark suites with different goals:bun run benchfor cold container spawn latencybun run bench:poolfor warm-pool steady-state latencybun run bench:detailedfor phase-level timingsbun run bench:ttifor ComputeSDK-style cold TTIbun run bench:tti:poolfor ComputeSDK-style warm TTI
Local benchmark workflow
- Use a quiet machine and close heavy background processes.
- Run each suite sequentially (avoid parallel benchmark runs).
- Repeat runs and compare medians, not single outliers.
GitHub Actions benchmark workflow
You can run benchmarks on a GitHub-hosted Linux runner by manually triggering Production Tests (Manual).- workflow input:
runBenchmarks=true - runner:
ubuntu-latest - benchmark step runs only if production tests pass
- benchmark command in workflow:
bun run bench:cli
Reading results correctly
- Compare
warmandcoldseparately. - Use
bench:detailedto locate where time is being spent (create,start,run,cleanup). - For cross-project comparisons, align environment first (host class, architecture, runner type, and iteration count).