TomasHubelbauer / vscode-markdown-todo

A VS Code extension for displaying all MarkDown todos in one Explorer pane.
MIT License
14 stars 4 forks source link

Extension causes high cpu load #4

Open KikeVen opened 5 years ago

KikeVen commented 5 years ago

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

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

TomasHubelbauer commented 5 years ago

Thank you! I will take a look at this.

TomasHubelbauer commented 5 years ago

@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.

xcodebuild commented 3 years ago

@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