microsoft / microsoft/vscode-cpptools
Improve performance of "references/call hierarchy incoming calls" search with caching
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
Just used the call hierachy feature it works great, however I have a question to vscode team related to performance, in eclipse I believe once all files are indexed the call hierachy is pretty fast, but in vscode it looks like the result isn't cached which results in scanning the files again even when there is no code change, any way we could support auto indexing and cache the result?
Originally posted by @cdong8812 in https://github.com/microsoft/vscode-cpptools/issues/16#issuecomment-1559900820
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
The issue names the references/call hierarchy incoming calls search but no source file or test. Start by tracing that entry point and reproduce repeated searches with unchanged files; done means cached results avoid rescanning when no code has changed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- performance, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100