Skip to content

Performance comparisons of build tools, including Rspack, Rsbuild, Webpack, Vite and Farm.

License

Notifications You must be signed in to change notification settings

rspack-contrib/build-tools-performance

Repository files navigation

Build Tools Performance Compare

Benchmarks for Rspack, Rsbuild, Webpack, Vite and Farm.

Result

image

Info:

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

Run

Run benchmarks (node >= 22):

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!

About

Performance comparisons of build tools, including Rspack, Rsbuild, Webpack, Vite and Farm.

Resources

License

Stars

Watchers

Forks

Languages