Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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

Last synced: 16 days ago
JSON representation

Performance comparisons of 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

Screenshot 2024-10-24 at 21 13 22

Info:

- MacBook Pro / Apple M1 Pro / 32GB
- startup = serverStart + onLoad
- 5000 components + 5000 modules in node_modules

## 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!