Performance issue on IntelliSense after the verion 1.18.5
XuPengfei-1020 opened this issue · comments
Environment
- OS and Version:
Local mode: mac
Remote mode: mac-client, linux-server - VS Code Version: 1.18.9 dc96b837cf6bb4af9cd736aa3af08cf8279f7685
- C/C++ Extension Version: after 1.18.5
- If using SSH remote, specify OS of remote machine: centos 7.9 (or on mac locally)
Bug Summary and Steps to Reproduce
Bug Summary:
IntelliSense is rather slowly, prevent the functions which are dependent on IntelliSense. Whatever file I open, the IntelliSense process is spining for even a minute, and before it finished I can do nothing about the functions which are dependent on the IntelliSense.
Steps to reproduce:
- Run vscode on mac locally or a linux server remotely, checkout the project: https://github.com/apache/doris, master branch is ok.
- install the c++ extension pack (which contains cpptools of version greatter than 1.18.5)
- Open a file under the forder $project-root/be/sre.
- Try the functions releated with IntelliSense.
Expected behavior:
IntelliSense is extremlly slow, and prevent you using the functions which are denpendent on the IntelliSense.
Configuration and Logs
/
Other Extensions
No response
Additional context
I try the cpptools extension version by version, and I found that the IntelliSense is smooth at (and before) the version 1.18.5, if I update the extesion to version which is greater than 1.18.5, the issue will appear.
So it may be helpful that checkout the changes between 1.18.5 and 1.19.5.
@XuPengfei-1020 Can you set C_Cpp.loggingLevel to "Debug" and look at the C/C++ logging after opening a file logging text that indicates what is blocking the IntelliSense operation? In particulary, what does it show for "Update IntelliSense time (sec):" or mentions of a filename cache.
This may be a duplicate of #12169