Replace 31+ scattered Gson() instantiations with a centralized application-level GsonService singleton. This eliminates redundant object creation, particularly in hot message handling paths (28 instances in IdeProtocolClient alone). Changes: - Created GsonService as application-scoped singleton (@Service annotation) - Updated IdeProtocolClient to use GsonService via default constructor parameter - Updated CoreMessenger to use GsonService via default constructor parameter - Updated ContinueBrowser to use GsonService via default constructor parameter Performance impact: - Eliminates 31+ Gson object allocations per session - Reduces reflection overhead from repeated Gson initialization - Improves message handling performance in IDE-Core communication Addresses: #8452 |
||
|---|---|---|
| .. | ||
| .run | ||
| gradle/wrapper | ||
| src | ||
| testdata/rename | ||
| .gitignore | ||
| build.gradle.kts | ||
| CONTRIBUTING.md | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| package-lock.json | ||
| qodana.yml | ||
| README.md | ||
| rules.md | ||
| settings.gradle.kts | ||
Continue
Ship faster with Continuous AI
The future of coding isn't writing more code. It's delegating the boring parts, so you can build the interesting stuff
Get started in Mission Control, CLI (Headless Mode), or CLI (TUI mode)
Agent
Agent to work on development tasks together with AI
Chat
Chat to ask general questions and clarify code sections
Edit
Edit to modify a code section without leaving your current file
Autocomplete
Autocomplete to receive inline code suggestions as you type