microsoft / microsoft/vscode-cpptools

Improve performance of "references/call hierarchy incoming calls" search with caching

Open
#10,996 11 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Request Feature: Call Hierarchy Feature: Find All References Language Service performance
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.