Commit Graph

3 Commits

Author SHA1 Message Date
Luke Sandberg cee784dea0 [turbopack] vibecode a benchmark runner for module-cost (#82287)
# Add automated benchmark runner for module-cost

## What?
This PR adds an automated benchmark runner for the module-cost benchmark, allowing for consistent measurement of module loading and execution times.

## Why?

It is to tedious and error prone to run the benchmark. 

## Usage

Build `next` and turbopack however you like
```
pnpm i
pnpm prepare-bench
pnpm build-webpack (or build-turbopack)
pnpm benchmark
```

## How?

v0 mostly
2025-08-04 16:16:57 -07:00
Luke Sandberg d85d3e2734 [turbopack] tweak the ui of the module-cost benchmark (#81817)
Have the module-cost benchmark page self identify and output into a text box to make copy-pasting the data out easier.
2025-07-29 10:46:55 -07:00
Tobias Koppers 48b2976ed2 Turbopack: add module cost benchmark (#81530)
### What?

Add a benchmark that requires/imports nearly 10k of empty modules.

Measures load and execution time for these modules.

Might also be useful to measure the compile overhead of modules.
2025-07-11 14:34:38 +02:00