turbo icon indicating copy to clipboard operation
turbo copied to clipboard

Use swc for vite in bundlers benchmark

Open yyx990803 opened this issue 3 years ago • 2 comments

In the next-dev bundlers benchmark, the Vite config is using Babel-based React transforms. Although it's the default when creating a Vite React project, the transforms are not inherent to Vite and can be trivially swapped to leverage SWC.

Assuming the purpose of the benchmark is comparing the inherent, framework-agnostic performance of the tools, we should aim to equalize the variables that are not part of the core implementations of the tools. Note that the Webpack implementation is also using SWC, so it makes sense to use SWC for the Vite implementation as well.

Benchmark page should be updated accordingly if this is merged.

yyx990803 avatar Nov 02 '22 14:11 yyx990803

@yyx990803 is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Nov 02 '22 14:11 vercel[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

5 Ignored Deployments
Name Status Preview Updated
examples-basic-web ⬜️ Ignored (Inspect) Nov 2, 2022 at 2:54PM (UTC)
examples-designsystem-docs ⬜️ Ignored (Inspect) Nov 2, 2022 at 2:54PM (UTC)
examples-kitchensink-blog ⬜️ Ignored (Inspect) Nov 2, 2022 at 2:54PM (UTC)
examples-native-web ⬜️ Ignored (Inspect) Nov 2, 2022 at 2:54PM (UTC)
examples-svelte-web ⬜️ Ignored (Inspect) Nov 2, 2022 at 2:54PM (UTC)

vercel[bot] avatar Nov 02 '22 14:11 vercel[bot]

added in #2751

sokra avatar Nov 22 '22 05:11 sokra