redhat-developer / redhat-developer/vscode-java
Tips for performance when opening big projects like Keycloak?
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ソースファイルやテストは指定されていません。Ubuntu 20.04.4 上で Keycloak をクローンし、redhat.java 1.8.0 を使用する VS Code 1.68.1 で開いて、プロジェクトの初期化とコンパイルを観察することで報告を再現してください。Maven プロファイルや無関係なモジュールが含まれているかを調査してください。原因が文書化され、実行可能な最適化または設定の指針が得られれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- devtools, performance
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100