vscode-plantuml icon indicating copy to clipboard operation
vscode-plantuml copied to clipboard

Extension causes high cpu load

Open Yaroslav2 opened this issue 6 years ago • 1 comments

  • Issue Type: Performance
  • Extension Name: plantuml
  • Extension Version: 2.12.1
  • OS Version: Windows_NT x64 10.0.18362
  • VSCode version: 1.38.1

:warning: Make sure to attach this file from your home-directory: :warning:C:\Users\Admin.000\jebbs.plantuml-unresponsive.cpuprofile.txt

Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

Yaroslav2 avatar Oct 13 '19 21:10 Yaroslav2

I have a similar issue.

Ubuntu 18.04 VSCode version: 1.52.1 Extension Version: v2.14.3

PlantUML Render: Local

The CPU load gets very high and takes one core up to 100 % (25 % of system total). The problem seems to be related to the option "Plantuml: Preview current diagram" (in a tab).

Usually the CPU load just peaks for a second when a change is made and the preview is refreshed. But at some point one of the many children process of VS Code turns to full load, even if there are no changes made to the *.plantuml file.

solarjoe avatar Feb 10 '21 20:02 solarjoe