3 ms·
I am very excited for Turbopack. I hope to see this considered by the Angular team. Angular is tightly coupled with webpack, however, they've been experimentin
by Bilal_io 4y ago
I am very excited for Turbopack.
I hope to see this considered by the Angular team. Angular is tightly coupled with webpack, however, they've been experimenting with ESBuild, which is included in Angular 14. Vite has been tested by an Angular team member and reported some promising results.
I just hope they don't tightly couple the implementation with ESBuild and fall into the same issue again.
Back to Turbopack:
> Turbopack is up to 10x and 700x faster than existing approaches.
The 700x speed gain compared to webpack is for dev mode changing 30000 files at once.. I understand that it scales very well. But is it realistic to boast about unrealistic scenarios? It erks me.
- tough 4y agoMarketing always overrides engineering on final copy
- 8n4vidtmkvmk 4y agois it that unrealistic? dev mode is what i care most about. its ok if deploys are a little slower. 30k files probably means editing 1 file which triggers rebuilding the whole bundle... if that includes node modules it can probably hit 30k pretty easily
- wonnage 4y agoOr if you just start with an empty cache, or if you come back from vacation and pull several weeks worth of changes… certainly a real use case
- Bilal_io 4y agoThe benchmark is measuring HMR specifically. You've already dev-served your app, now you make a change... Which builder is faster? It's important to get all the speed gain we can, Angular (webpack) is really slow at rebuilding when you save changes, this would be a life-saver, but no dev is ever watching 30k files at once.