TomasHubelbauer/vscode-markdown-todo

Extension causes high cpu load

Opened this issue · 3 comments

  • Issue Type: Performance
  • Extension Name: vscode-markdown-todo
  • Extension Version: 11.0.0
  • OS Version: Windows_NT x64 10.0.17134
  • VSCode version: 1.32.3

⚠️ Make sure to attach this file from your home-directory: C:\Users\~~\TomasHubelbauer.vscode-markdown-todo-unresponsive.cpuprofile.txt ⚠️

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

Thank you! I will take a look at this.

@KikeVen Do you think you could attach the C:\Users\~~\TomasHubelbauer.vscode-markdown-todo-unresponsive.cpuprofile.txt file, please? I might be able to get to some low hanging fruit, the extension is not well optimized as of now, but it will help to make sure my changes solve your particular problem as well as the general performance issuesm not just the latter.

@KikeVen Same issue on Windows, but works well on macOS.

It looks like not a this plugin special issue but with rg.exe on Windows.

Workgroud from here https://github.com/microsoft/vscode/wiki/Search-Issues#slow-search-rg-running-for-a-long-time-or-consuming-lots-of-cpumemory solve this for me.

Setting "search.followSymlinks": false