aws-cloudformation / aws-cloudformation/cfn-lint-visual-studio-code

High CPU usage with large number of python processes

Open
#240 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
289
Forks
170
PR merge metrics
No merged PRs in 30d

Description

Devices CPU usage spikes when working on a template. I noticed a larger number of python processes are run in quick succession which is using the CPU. I have no issues if I disable the extension. I've attached a screen shot of resource monitor.
Environment
- Windows 10
- VS Code 1.71.2
- Python 3.10.1
- cfn-lint 0.66.1

Actions: Editing of a Cloudformation template with the linter extension enabled

Thanks in advanced for any assistance.

![ResourceMonitor](https://user-images.githubusercontent.com/26093679/194615978-c811d818-8139-481f-8204-fb9978eb0ef0.png)

Contributor guide

Open the contributing guide

Research direction

No source files, tests, or entry points are identified in the report. Reproduce the CPU spike on Windows 10 while editing a CloudFormation template with the extension enabled, compare it with the extension disabled, and use the reported process behavior to define the regression check and completion criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, python, vscode
Domain
devtools, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.