apache / apache/grails-intellij-plugin

Slow DomainClassesRelationsEditorProvider

Open
#327 0 comments 0 reactions 0 assignees View on GitHub
imported-from-youtrack performance
Dominant language
Java
Stars
17
Forks
4
Avg merge
5d 15h
Merged PRs (30d)
4

Description

It asks if class is a GORM bean, which requires resolve of class annotations, which is slow, and it's happening on EDT.

**Workaround**: enable `grails.advanced.mode` in the Registry.

---

*Imported from [IDEA-184140](https://youtrack.jetbrains.com/issue/IDEA-184140) · Type: Performance Problem · Votes: 1*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating DomainClassesRelationsEditorProvider and tracing the check that determines whether a class is a GORM bean. Reproduce the slowdown with grails.advanced.mode disabled, then inspect how annotation resolution is triggered on the EDT. Done means the editor no longer performs this slow work synchronously there, with a regression test if the existing test structure supports it.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
developer-experience, performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.