|
|
|
I have about 210 @Entity's in my project. This could certainly be an unscalable code issue, where IDEA's inspections don't scale to handle larger projects.
A couple of performance issues are addressed in the upcoming 7.0.3. EAP.
Performance does not seem to be any better in latest EAP build (7648). Uploaded another snapshot showing performance problem.
In this case, I opened a file containing HQL and waited almost 2 minutes - the file had still not updated syntax checking and highlighting. If I type the name of a class that is not imported, it never offers me the opportunity to import the class, because it hasn't finished highlighting the file. After about 2 minutes of waiting, I got tired of waiting and just stopped the CPU snapshot. I also get slow performance in files with JPA annotations, so although this file only contains HQL, it may not be the only JPA/HQL related performance problem. Uploaded another snapshot (14.01.2008_17.20.33). This snapshot involved me opening a file that has nothing to do with JPA or HQL, but is slow to highlight. All I did is type in a class name that needed to be importing and it took about 8-10 seconds for IDEA to prompt me to import the class.
Any idea when the next EAP will be released? today? tomorrow?
I have a similar problem, I think.
In my project there are several thousand classes that are code-generated. All of them implement certain marker interface (i.e. an interface without any methods). If I navigate to this interface IDEA freezes for 30-90 seconds with 100% CPU usage. It also freezes if I do any editing in this interface. Since IDEA-16906 was closed as a duplicate of this issue, I'll upload the 7648_jhaile_18.01.2008_09.16.48 snapshot here as well. This snapshot is JSP specific.
JSP editing is extremely slow, with random lockups and freezes being normal. Even actions like scrolling down a page can lag and freeze. In fact, it is quite common that when I scroll the editor window, the scrolling lags and freezes. JSP editing is almost unusable. It seems like Spring and Hibernate editing got faster on some of the past EAP builds (prior to 7684) but has now slowed down again. Multiple developers at my company have noticed that the last EAP build or so (7684) feels much slower than 2-3 EAP builds back.
I'm attaching another snapshot of a JPA class taking a LONG time to highlight. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The performance is really terrible. Is there a workaround? I've tried disabling JPA related inspections without any success.