Re:Parcel v2
by tuananh on Wednesday October 13, 2021 @08:38PM
(#28859261)
the benchmark looks brutal to other bundler
[ Parent
| on HN ]
Re:Parcel v2
by devongovett on Wednesday October 13, 2021 @10:26PM
(#28859898)
Note that this benchmark is dominated by Terser for minification. All tools aside from ESBuild use it.
Why not minify with esbuild instead by default?
Re:Parcel v2
by devongovett on Wednesday October 13, 2021 @11:51PM
(#28860326)
esbuild tends to produce larger bundles due to https://github.com/evanw/esbuild/issues/639. Looks like there was recent activity though, so we need to re-test. Anyway, there's a plugin available for now: https://www.npmjs.com/package/@parcel/optimizer-esbuild. We're also excited about the SWC minifier project, which is basically a port of Terser to Rust.
This link https://github.com/privatenumber/minification-benchmarks shows swc is still a work in progress.