Chúng tôi không thể tìm thấy kết nối internet
Đang cố gắng kết nối lại
Có lỗi xảy ra!
Hãy kiên nhẫn trong khi chúng tôi khắc phục sự cố
Esbuild vs SWC vs Babel So Sánh Hiệu Năng 🚀
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