Performancecpptools0.21.0Linux x64 4.9.0-8-amd641.31.1ms-vscode.cpptools-unresponsive.cpuprofile.txt
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load
From the .cpuprofile, it is taking a long time to load a module. VS Code's solution is https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load#code-loading
@WardenGnaw So we should be using WebPack? Do we know how severe of an issue this is, i.e. how much of a benefit would be gained?
@sean-mcmanus We would have to do profiling on WebPacked code vs non-WebPacked code and see what the improvement is.
Same notification while loading the same code folder (which is quite huge, tens of thousands of files, that might be of importance ?).
Time is still mostly spent doing module loads. Profiler is saying it is taking 2500 ms.
I noticed in the messages that @sean-mcmanus is leaving on duplicate issues, there's apparently a fix to this issue in the upcoming release. Is there a branch where this is currently located?
Thanks!
@philkuz The branch would be https://github.com/Microsoft/vscode-cpptools/pull/3411
Should be fixed with 0.23.0-insiders2: https://github.com/Microsoft/vscode-cpptools/releases/tag/0.23.0-insiders2
Version 1.40.2

@larshb "high CPU load" is a general symptom with many possible causes -- can you open a new issue with more repro info? Are you able to look at the logs or call stacks to determine what processing is occurring?