Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/rspack-contrib/build-tools-performance
- Owner: rspack-contrib
- License: mit
- Created: 2024-11-07T14:23:18.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-03T04:27:20.000Z (24 days ago)
- Last Synced: 2024-12-03T05:27:20.905Z (24 days ago)
- Language: JavaScript
- Homepage:
- Size: 2.31 MB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
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
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 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!