Angular 13 Build Times increased a lot
See original GitHub issueWhich @angular/* package(s) are the source of the bug?
compiler-cli, compiler, core
Is this a regression?
Yes
Description
Since I upgraded some Projects from Angular 12 to Angular 13 the build times increased by factor 3x.
Same Project (Build by Github Actions): Angular 12 ➤ 6 min Angular 13 ➤ 18 min
I can see this in multiple Angular Projects. I did the upgrade with ng update.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No errors.
Please provide the environment you discovered this bug in (run ng version
)
Angular CLI: 13.0.2
Node: 16.13.0
Package Manager: npm 8.1.3
OS: darwin arm64
Angular:
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.1300.2 (cli-only)
@angular-devkit/core 13.0.2 (cli-only)
@angular-devkit/schematics 13.0.2 (cli-only)
@schematics/angular 13.0.2 (cli-only)
Anything else?
No response
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:14 (2 by maintainers)
Top Results From Across the Web
How to speed up your Angular builds - Bitovi
First, increase Node's memory limit. This consumes more RAM, but it helps. Second, keep ahead-of-time (AOT) compilation turned on. Builds will ...
Read more >How to speed up the Angular build process - Stack Overflow
I recently upgraded from Angular 8 to Angular 13. My build time was comparable (~10 minutes in both Angular 8 and Angular 13), ......
Read more >How To Speed Up Angular Development and Reduce ...
However, the more your app grows, the longer your compilation times may become. This makes writing code more cumbersome and reduces your developer ......
Read more >Optimize Angular build speed during development
Optimize Angular Build time . Compression is not of much use during development turning it off speed approximately 50% . Use ng Server...
Read more >Build Times, Bundle Sizes, and Other Improvements Made by ...
The cool thing about these improvements that the Angular team has made to Ivy is that Angular's AOT (Ahead-of-Time) builds are noticeably faster...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Could you please share a reproduction of some sorts, a CPU profiling or anything else that might help us determine what is going on here; without this information we won’t be able to help you here.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.