microsoft / microsoft/vscode-cpptools
Discovering Files over sshfs is too slow
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
Similarly to this Atom bug, cpptools discovering files is too slow when the files are hosted on nfs. Discovering 20k files takes about a minute, during that time the db icon will be present and sometimes the hotflame icon will be visible too. Intellisense is laggy or completely unusable during that time.
https://github.com/atom/atom/issues/1766
I tested vscode with cpptools on Windows and on Linux without sshfs and it's super fast, when I start vscode it takes just a few seconds for the db icon to disappear.
I thought the language server in cpptools is a c++ application, why it's taking that long to discover files?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce file discovery over sshfs or NFS with the reported Redhat 7.3 and VS Code setup, using a workspace containing about 20k files. Observe discovery time, the database and hotflame indicators, and IntelliSense responsiveness. Done means discovery completes promptly and IntelliSense remains usable on remote files without regressing local performance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, vscode
- Domain
- performance, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100