Skip to content

perf: Angular 10 slower than Angular 9 #39433

Closed
@andredesousa

Description

@andredesousa

🐞 bug report

Is this a regression?

Yes, the previous version in which this bug was not present was: 9.x

Description

After upgrading to Angular 10, the application is much slower. With Angular 9, a list of 3000 labels was rendered in ~ 1 second, but with Angular 10, it takes 20-30 seconds. The code is a simple ngFor, without other logic. Do you have any idea? This problem was introduced with Angular 10.

🌍 Your Environment

"@angular/animations": "10.1.6",
"@angular/common": "10.1.6",
"@angular/compiler": "10.1.6",
"@angular/core": "10.1.6",
"@angular/forms": "10.1.6",
"@angular/platform-browser-dynamic": "10.1.6",
"@angular/platform-browser": "10.1.6",
"@angular/router": "10.1.6",
"@angular-devkit/build-angular": "0.1001.7",
"@angular/cli": "10.1.7",
"@angular/compiler-cli": "10.1.6",
"@angular/language-service": "10.1.6",

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: performanceIssues related to performanceneeds reproductionThis issue needs a reproduction in order for the team to investigate furtherneeds: clarificationThis issue needs additional clarification from the reporter before the team can investigate.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions