Does cpptools really need to parse over 4 million files? #7618
Unanswered
whatdoidonow
asked this question in
Q&A
Replies: 1 comment 16 replies
-
It could be following a symlink to your root drive or a folder with a lot of files. You should be able to temporarily set C_Cpp.loggingLevel to the hidden value of "7" (change it back to "Debug" or lower or performance could be impacted) and look at the "C/C++" logging pane to see what folders are being iterated through and add those directories or symlinks that target those to C_Cpp.files.exclude . Look for the update_file_if_needed messages. |
Beta Was this translation helpful? Give feedback.
16 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am aware there are already several performance related issues open. But I came across this page https://github.com/microsoft/vscode-cpptools/wiki/Troubleshooting-Performance-Issues which invites you to post performance details in an issue.
Basically, cpptools appears to run continuously, maxing out the core it runs on, and when I hover over the db icon, I see Discovering files: 4164330 (that number is on the rise). It is quite likely that my C++ extension is misconfigured, but I don't know where else to turn to. As far as I'm aware, I am using default settings and the proverbial "I didn't change anything" applies.
As instructed, I shall attach the screenshot of the performance report. That's for C/C++ ms-vscode.cpptools v1.4.0.
Beta Was this translation helpful? Give feedback.
All reactions