vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Performance issue on IntelliSense after the verion 1.18.5

Open XuPengfei-1020 opened this issue 8 months ago • 9 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:

  1. Run vscode on mac locally or a linux server remotely, checkout the project: https://github.com/apache/doris, master branch is ok.
  2. install the c++ extension pack (which contains cpptools of version greatter than 1.18.5)
  3. Open a file under the forder $project-root/be/sre.
  4. 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 avatar Jun 04 '24 05:06 XuPengfei-1020