microsoft / microsoft/vscode-cpptools
Find All References is really slow for this project
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 6.2k
- Forks
- 1.7k
- Ø Merge
- 14 Std. 46 Min.
- Gemergte PRs (30 T.)
- 61
Beschreibung
See the repro details at https://github.com/microsoft/vscode-cpptools/issues/5376 . That issue got fixed, but the performance is unusually slow. I wasn't able to get Find All References to work in VS for comparison. There may be some performance bug. There might be a recursive includes and tag parser cause for the slowness in addition to IntelliSense parsing. The unification work may or may not improve this, but it would be a good test case to see if performance got better or worse after the unification work changes.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit den Reproduktionsdetails in microsoft/vscode-cpptools#5376 und messe Find All References für dieses Projekt. Untersuche, ob recursive includes, der tag parser oder die IntelliSense-Analyse für die Langsamkeit verantwortlich sind, und vergleiche die Performance vor und nach der unification-Arbeit; abgeschlossen bedeutet eine bestätigte Ursache oder ein messbares Performance-Ergebnis.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp
- Bereich
- performance, tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100