Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

[Clover] Usage on Node 12 exhibits permanent compiler deoptimizations on sustained load #2763

Closed
1 of 3 tasks
damienwebdev opened this issue Jul 28, 2022 · 2 comments
Closed
1 of 3 tasks

Comments

@damienwebdev
Copy link

damienwebdev commented Jul 28, 2022

🐞 Bug report

What modules are related to this issue?

  • builders
  • common
  • express-engine

Is this a regression?

Not really.

Description

I have a Node 12 Ng13 app that uses Clover to render pages.

After sustained load of ~5 minutes worth of ~1rq/s, v8 decides to deoptimize some function (I didn't bother to investigate which) and resultingly the render becomes 2.5x times slower permanently until the node process is restarted.

See: nodejs/node#3659

This does not occur on node 14 or node 16.

🔬 Minimal Reproduction

I don't have a great reproduction, but the Github issue linked above does.

🌍 Your Environment

npx ng --version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 13.2.6
Node: v12.22.1
Package Manager: npm v6.14.12
OS: linux x64

Angular: 13.2.7
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router, service-worker

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1302.6
@angular-devkit/build-angular   13.2.6
@angular-devkit/core            13.3.6
@angular-devkit/schematics      13.3.6
@angular/cdk                    13.3.7
@angular/cli                    13.2.6
@angular/elements               13.3.9
@angular/localize               13.3.9
@nguniversal/common             13.0.2
@schematics/angular             13.3.6
ng-packagr                      13.3.1
rxjs                            7.5.5
typescript                      4.4.4
webpack                         5.72.1
@alan-agius4
Copy link
Collaborator

Node 12 is no longer supported and therefore this is not actionable from our end.

@alan-agius4 alan-agius4 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 4, 2022
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants