redhat-developer / redhat-developer/vscode-java
Tips for performance when opening big projects like Keycloak?
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 2.3k
- Forks
- 546
- Ø Merge
- 20 Std. 1 Min.
- Gemergte PRs (30 T.)
- 11
Beschreibung
I'm working with Keycloak, which is a big code base.
Opening the project is quite frustrating: it takes 5+ minutes for the things to settle down. It seems that just closing and reopening vscode with the project open will take very long as well, at least if there are any changed files (like after small git pull).
I wonder if too much of the code base is compiled since the compilation also shows errors for modules that are not shown when compiling with maven on command line (which takes 2 minutes btw). Maybe the active maven profile is not obeyed? Keycloak code base might have some maven modules that are not maintained anymore and it would be desirable to include only the relevant ones.
I would appreciate any pointers on how to troubleshoot and optimize the performance of opening a big project such as Keycloak.
Thank you!
Environment
- Operating System: Ubuntu 20.04.4 LTS
- JDK version: OpenJDK Temurin-11.0.15+10
- Visual Studio Code version: 1.68.1 (x86)
- Java extension version: redhat.java@1.8.0
Steps To Reproduce
- git clone https://github.com/keycloak/keycloak
- open the project
Current Result
Expected Result
Additional Informations
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
Es werden keine Quelldateien oder Tests genannt. Reproduziere den Bericht, indem du Keycloak unter Ubuntu 20.04.4 klonst, es in VS Code 1.68.1 mit redhat.java 1.8.0 öffnest und die Projektinitialisierung sowie die Kompilierung beobachtest; untersuche, ob Maven-Profile oder nicht verwandte Module einbezogen werden. Als abgeschlossen gilt die Aufgabe, wenn die Ursache dokumentiert ist und konkrete Optimierungs- oder Konfigurationshinweise vorliegen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- devtools, performance
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100