Understand the benchmark layout
mainThe benchmark directory follows this structure:
run.mjs: The entry point that discovers cases, runs them, and prints the results table.with-codspeed.mjs: A bridge betweentinybenchand@codspeed/core.cases/<case-name>/index.bench.mjs: Individual benchmark scenario definitions.
bench/
├── README.md
├── run.mjs # entry: discovers cases, runs them, prints a table
├── with-codspeed.mjs # tinybench <-> @codspeed/core bridge
└── cases/
└── <case-name>/
└── index.bench.mjs