An open API service indexing awesome lists of open source software.

https://github.com/rspack-contrib/build-tools-performance

Performance comparisons of bundlers and build tools, including Rspack, Rsbuild, webpack, Vite and Farm.
https://github.com/rspack-contrib/build-tools-performance

build-tools rsbuild rspack

Last synced: 3 months ago
JSON representation

Performance comparisons of bundlers and build tools, including Rspack, Rsbuild, webpack, Vite and Farm.

Awesome Lists containing this project

README

        

# Build Tools Performance Compare

Benchmarks for Rspack, Rsbuild, webpack, Vite and Farm.

## Result

### 2.5k modules

1000 components + 1500 modules in node_modules.

```bash
pnpm run benchmark small
```

![image](https://github.com/user-attachments/assets/87798e21-e344-477b-acf5-ce6e4a6490eb)

### 10k modules

5000 components + 5000 modules in node_modules.

```bash
pnpm run benchmark medium
```

![image](https://github.com/user-attachments/assets/22428a44-3572-4ddb-9161-66899be33dd8)

## Run

Run benchmarks (node >= 22):

```bash
node benchmark.mjs
```

If you want to start the project with the specified tool, try:

```bash
pnpm i # install dependencies

npm run start:farm # Start Farm
npm run start:rspack # Start Rspack
npm run start:rsbuild # Start Rsbuild
npm run start:vite # Start Vite
npm run start:webpack # Start Webpack
npm run start:turbopack # Start Turbopack
```

## Credits

Forked from [farm-fe/performance-compare](https://github.com/farm-fe/performance-compare), thanks to the Farm team!