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

High CPU load: Conflict with `JaimeOlivares.yuml`

Open nilskp opened this issue 4 years ago • 10 comments

  • Issue Type: Performance
  • Extension Name: markdown-all-in-one
  • Extension Version: 3.0.0
  • OS Version: Windows_NT x64 10.0.18363
  • VSCode version: 1.45.1

yzhang.markdown-all-in-one-unresponsive.cpuprofile.txt

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

nilskp avatar May 31 '20 13:05 nilskp

I've checked the CPU profile. It looks like the yuml extension harmed the performance the most.

Please disable other extensions to see to what extent this extension affects the VSCode performance.

perf

yzhang-gh avatar May 31 '20 14:05 yzhang-gh

Why would the yuml extension slowness lead to the markdown extension being reported as slow?

nilskp avatar Jun 01 '20 13:06 nilskp

Please disable other extensions to see to what extent this extension (I meant Markdown All in One) affects the VSCode performance.

I have no idea. So this is to verify whether Markdown is affected by other extensions. For example, https://github.com/yzhang-gh/vscode-markdown/issues/423#issuecomment-502226984

yzhang-gh avatar Jun 01 '20 14:06 yzhang-gh

Hi. I had yuml installed and saw slowness. I've been having a lot of trouble writing [links](./to/some/file). Responsiveness is lost and as it becomes very slow. I'd just want to verify if this could be the same issue or if I should make another.

I think at least that is not related to yuml. I disabled yuml, even uninstalled, and as soon as I add the () after [] and start typing the file name, it becomes unresponsive. Removing markdown extension resolves the problem.

My problem could relate more to having a large workspace. I wonder if markdown scans all the files while I am writing the path. Do you @nilskp have a large or small workspace? Does disabling yuml help for you? Do you have more slowness editing something rather than something else?

kohtala avatar Oct 12 '20 05:10 kohtala

@kohtala Thanks for the information. It would be great if you can manage to record a CPU profile (detailed here).

yzhang-gh avatar Oct 12 '20 07:10 yzhang-gh

I quickly looked at the instructions. I can not take the time for it now. I can not say when I'd have time. Could be after two weeks.

kohtala avatar Oct 12 '20 08:10 kohtala

No worries.

yzhang-gh avatar Oct 12 '20 08:10 yzhang-gh

Setting > disable "Search:Follow Symlinks"

petterobam avatar Dec 21 '20 07:12 petterobam

image I tried this myself, and turning on the locale in the language Settings will solve the problem.

petterobam avatar Dec 29 '20 15:12 petterobam

Thanks for the information. Maybe it can help other people.

yzhang-gh avatar Dec 29 '20 16:12 yzhang-gh