Skip to content

Performance compare for Farm, Webpack, Rspack, Turbopack and Vite

License

Notifications You must be signed in to change notification settings

sapphi-red/performance-compare

This branch is 40 commits ahead of, 68 commits behind farm-fe/performance-compare:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

821ca55 · Jun 27, 2024

History

52 Commits
Jun 27, 2024
Aug 20, 2023
Mar 12, 2023
Jun 27, 2024
Mar 4, 2023
Apr 20, 2023
Jun 27, 2024
Jun 27, 2024
Mar 12, 2023
Mar 5, 2023
Jun 27, 2024
Jun 27, 2024
Jun 27, 2024
Jun 27, 2024
Dec 1, 2023
Feb 20, 2024
Feb 20, 2024
Aug 20, 2023
Aug 20, 2023

Repository files navigation

performance-compare

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

Using Turbopack's bench cases (1000 React components), see https://turbo.build/pack/docs/benchmarks

Results: https://gist.github.com/sapphi-red/25be97327ee64a3c1dce793444afdf6e

Run benchmarks:

node benchmark.mjs

If you want to start the project with the specified tool, try:

pnpm i # install dependencies

pnpm run start:farm # Start Farm
pnpm run start:vite # Start Vite with babel
pnpm run start:vite-swc # Start Vite with SWC
pnpm run start:webpack # Start Webpack with babel
pnpm run start:webpack-swc # Start Webpack with SWC
pnpm run start:turbopack # Start Turbopack
pnpm run start:rspack # Start Rspack
pnpm run start:parcel # Start parcel

About

Performance compare for Farm, Webpack, Rspack, Turbopack and Vite

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.6%
  • Other 0.4%