Esbuild vs SWC vs Babel So Sánh Hiệu Năng 🚀

Tác giả: NL Tech
Ngày xuất bản: 2023-06-04T00:00:00
Length: 04:24

In this video I compare the performance of the two new build tools based on Go and Rust - esbuild and SWC with a traditional Node.js JavaScript compiler - Babel. For the comparison I benchmark the tools by building four open source projects of different sizes and types - the Boostrap JavaScript components, Math.js, Material Design Components and Three.js. The results show that esbuild and SWC outperform Babel significantly, as expected in theory. SWC seems to outperform esbuild with smaller projects which are less than 300kb in size, but as the project size grows esbuild performs a little bit better than SWC in these specific cases. The performance differences between SWC and esbuild are not statistically significant to draw a clear conclusion as to which tool is more performant, but both tools are more performant than the Node.js based Babel.

Contents:

0:00 Introduction

0:21 Methodology

0:37 The Benchmark Projects

1:17 Configuration

1:29 Bootstrap Results

1:38 Math.js Results

2:08 Material Design Results

2:35 Three.js Results

3:00 Conclusion

Social Media:

Email: [email protected]

Twitter: https://twitter.com/nikelaz

LinkedIn: https://www.linkedin.com/in/nikola-lazarov/

#swc #esbuild #babel #performance #comparison

Dịch Vào Lúc: 2025-06-07T13:55:15Z

Yêu cầu dịch (Một bản dịch khoảng 5 phút)

Phiên bản 3 (ổn định)

Tối ưu hóa cho một người nói. Phù hợp cho video chia sẻ kiến thức hoặc giảng dạy.

Video Đề Xuất