Skip to content

serve rebuild speed problem between 9rc.1 and 9rc.2 and 9rc.3 #33986

@elvisbegovic

Description

@elvisbegovic

🐞 Bug report

Command (mark with an x)

  • serve

Is this a regression?

Yes, in 9rc1, our app (on serve ivy+aot) each rebuild is <2seconds
In 9rc2 app rebuild ~6seconds
Now with rc3, if I trigger rebuild by adding one character in file+save (5 times) rebuild always take >15seconds

1.I was on 9rc2 then use ng update to go to 9rc3 for all packages (cli and core ...)
2. After that I run --migrate-only --from=8 --to=9
3. ng s ( ivy and aot is enabled)

🔥 Exception or Error

rebuilt speed problem

See Environment after update/migration
Angular CLI: 9.0.0-rc.3
Node: 13.1.0
OS: win32 x64
Angular: 9.0.0-rc.3
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, router
Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.900.0-rc.3
@angular-devkit/build-angular     0.900.0-rc.3
@angular-devkit/build-optimizer   0.900.0-rc.3
@angular-devkit/build-webpack     0.900.0-rc.3
@angular-devkit/core              9.0.0-rc.3
@angular-devkit/schematics        9.0.0-rc.3
@angular/cdk                      9.0.0-rc.2
@angular/material                 9.0.0-rc.2
@ngtools/webpack                  9.0.0-rc.3
@schematics/angular               9.0.0-rc.3
@schematics/update                0.900.0-rc.3
rxjs                              6.5.3
typescript                        3.7.2
webpack                           4.41.2

Anything else relevant?
cc @filipesilva

Metadata

Metadata

Assignees

Labels

area: compilerIssues related to `ngc`, Angular's template compilerfreq2: mediumregressionIndicates than the issue relates to something that worked in a previous version

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions