question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Angular 13 Build Times increased a lot

See original GitHub issue

Which @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:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
JoostKcommented, Dec 3, 2021

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.

0reactions
angular-automatic-lock-bot[bot]commented, Feb 27, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found