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.
- Host: GitHub
- URL: https://github.com/rspack-contrib/build-tools-performance
- Owner: rspack-contrib
- License: mit
- Created: 2024-11-07T14:23:18.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-04-11T02:24:15.000Z (3 months ago)
- Last Synced: 2025-04-14T10:13:29.675Z (3 months ago)
- Topics: build-tools, rsbuild, rspack
- Language: JavaScript
- Homepage:
- Size: 2.35 MB
- Stars: 33
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
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!