Awesome
Build Tools Performance Compare
Benchmarks for Rspack, Rsbuild, Webpack, Vite and Farm.
Result
<img width="967" alt="Screenshot 2024-10-24 at 21 13 22" src="https://github.com/user-attachments/assets/0ea28ee6-336d-459b-a5f7-12c228e81c34">Info:
- MacBook Pro / Apple M1 Pro / 32GB
- startup = serverStart + onLoad
Run
Run benchmarks:
node benchmark.mjs
If you want to start the project with the specified tool, try:
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, thanks to the Farm team!
- Using Turbopack's bench cases (1000 React components), see https://turbo.build/pack/docs/benchmarks