-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update benchmark versions #3441
Conversation
Cool! It's great to see everyone's hard work on performance paying off. I'm a little too busy right now but I'm going to try to get some time to re-run the benchmarks this weekend (it takes a good bit of time because I restart my computer in between runs to make sure the file system cache is clean). |
See parcel-bundler/parcel#7563 for more info.
I took a look at this. My findings:
|
Bundling `alias` with `engine: node` needs `includeNodeModules: true` or aliases are ignored. See parcel-bundler/parcel#7387 (comment) for more info.
Here are the updated benchmark results: JavaScript benchmarkOld:
New:
So Parcel 2 is roughly twice as fast than before on this benchmark. TypeScript benchmarkOld:
New:
So Parcel 2 is roughly 20% faster than before on this benchmark. |
Parcel v2.10.0 was just released and appears to significantly improve build performance.
This PR updates all bundler versions to latest. Notably, Parcel v2.10.0 now runs the three benchmark in around 7 seconds on my machine.
⏱️ `make bench-three` log on my M1 Max 64GB MacBook Pro: