This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 8.0 (Build 201403101706) Operating System = Linux version 3.2.0-61-generic running on amd64 Java; VM; Vendor = 1.7.0_51 Runtime = Java HotSpot(TM) 64-Bit Server VM 24.51-b03 The compile-on-save function seems slow in generating class files. By examining the time stamps on the source and the generated class files, I'm seeing a 6 second delay between the save of the source file and the class files. The file in question (OrderPost.java) is 6800 lines of source code, and generates 22 class files (the main and 22 inner classes). There are numerous references to other classes, both in the same and in other NB projects. 6 seconds seems to be slow for a compile of this size. My computer is 8 cores of "Intel(R) Core(TM) i7 CPU Q 820 @ 1.73GHz". It certainly feels slower than it was in NB 7.
Created attachment 147007 [details] IDE log
Created attachment 147009 [details] NB profiler: started just before save of source file, stopped a few seconds after
what really performing anything is the EditorParsingLoop thread.
The CoS is blocked by Java Overridden annotations.
@Tomas: Any news here? It is annoying and lowers my productivity. I always have to try 3 times and wonder if the class is already compiled or not.
Strongly agree with markiewb - productivity is much lowered.
>I always have to try 3 times and wonder if the class is already compiled or not. It's not caused by this issue. Please create a new issue on Maven, the Maven has to wait unless for CoS before it executes the project. This issue causing that the CoS execution takes longer time than it's needed.
(In reply to Tomas Zezula from comment #7) > It's not caused by this issue. Please create a new issue on Maven Done. https://netbeans.org/bugzilla/show_bug.cgi?id=245453
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss