Performance: Spring Initializr for project creation
MEDIUM IMPACT
This affects the initial load speed and bundle size of a Spring Boot application by controlling dependencies and project setup.
Select only required dependencies in Spring Initializr before generating the project.Generate a project with all available dependencies selected by default.| Pattern | Dependency Count | Startup Time | Memory Usage | Verdict |
|---|---|---|---|---|
| All dependencies selected | High (20+) | Slow (10+ seconds) | High (100+ MB) | [X] Bad |
| Only required dependencies | Low (3-5) | Fast (3-5 seconds) | Low (30-50 MB) | [OK] Good |