redhat-developer / redhat-developer/vscode-java
Tips for performance when opening big projects like Keycloak?
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 2.3k
- Fork
- 546
- Merge medio
- 20h 1m
- PR unite (30g)
- 11
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Non sono indicati file sorgente né test. Riproduci il report clonando Keycloak su Ubuntu 20.04.4, aprendolo in VS Code 1.68.1 con redhat.java 1.8.0 e osservando l’inizializzazione e la compilazione del progetto; verifica se sono inclusi profili Maven o moduli non correlati. Il lavoro sarà considerato completato quando saranno documentate la causa e indicazioni attuabili per l’ottimizzazione o la configurazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- devtools, performance
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100