Skip to content

VSCode extension is high on CPU usage #2202

Open
@FrikkieSnyman

Description

@FrikkieSnyman

Current Behavior

The VSCode extension for NX Console is utilising >100% CPU, constantly. When investigating what are behind these heavy pids, it is:

  • /extensions/nrwl.angular-console-18.24.1/nxls/main.js
  • /extensions/nrwl.angular-console-18.21.4/nxls/main.js

It also seems that these processes continue to run regardless of killing VSCode or disabling the NX extension.

As a result, this significantly drains battery life when using vsc with the NX console extension.

Expected Behavior

Less CPU usage.

Steps to Reproduce

  • Install NX Console VSCode extension
  • Open directory in VSC that is a NX monorepo

Failure Logs / Images / Videos

CPU usage in Activity Monitor

Screenshot 2024-07-08 at 17 23 17

After killing those processes:

Screenshot 2024-07-09 at 09 04 59

Environment

  • Nx Console version: 18.24.1
  • VSCode version: 1.91.0
  • OSX: Sonoma 14.5

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions