https://github.com/rspack-contrib/build-tools-performance
Benchmarks for bundlers and build tools, including Rspack, Rsbuild, webpack, Vite, Rolldown, esbuild, Parcel and Farm.
https://github.com/rspack-contrib/build-tools-performance
benchmark build-tools bundler farm rsbuild rspack vite webpack
Last synced: about 1 month ago
JSON representation
Benchmarks for bundlers and build tools, including Rspack, Rsbuild, webpack, Vite, Rolldown, esbuild, Parcel and Farm.
- Host: GitHub
- URL: https://github.com/rspack-contrib/build-tools-performance
- Owner: rspack-contrib
- License: mit
- Created: 2024-11-07T14:23:18.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-26T14:36:46.000Z (about 1 month ago)
- Last Synced: 2025-08-26T19:47:13.144Z (about 1 month ago)
- Topics: benchmark, build-tools, bundler, farm, rsbuild, rspack, vite, webpack
- Language: JavaScript
- Homepage:
- Size: 5.97 MB
- Stars: 59
- Watchers: 7
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```
### 10k modules
5000 components + 5000 modules in node_modules.
```bash
pnpm run benchmark medium
```
## 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 dependenciesnpm 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!