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.
Build: NetBeans IDE Dev (Build 100403-97deba2209a4) VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12 OS: Windows XP Maximum slowness yet reported was 124328 ms, average is 46347
Created attachment 96822 [details] nps snapshot
Created attachment 98461 [details] nps snapshot Cut and paste.
From a user's standpoint, this appears to be a duplicate of bug 185466 (or vice versa). All the dev versions from the last month are pretty much unusable for editing large files. This may just be the editor, but in my case there is consistent performance problems with editing large c++ files. I've addedd issues@cnd.netbeans.org to the cc list. Product Version: NetBeans IDE Dev (Build 201005040200) Java: 1.6.0_18; Java HotSpot(TM) 64-Bit Server VM 16.0-b13 System: Linux version 2.6.32.9-70.fc12.x86_64 running on amd64; UTF-8; en_US (nb) Userdir: /home/toddb/.netbeans/dev
I will check the snapshots.
There are several kinds of snapshots attached to this bug report. I suggest to check only the latest ones since the older ones were most probably duplicates of issues when the new view hierarchy was slow and turned on. The latest snapshots indicate some problems related to C++ - indeed they seem similar to those in 185466. I am passing this issue to the cnd team because we need to at least evaluate what was going on when the problem were noticed. The problems looks like there is something wrong with the cnd modules adding/removing annotations. The AWT EDT is blocked on synchronization. Please have a look and if you think that the problem is in the editor please assign back. Please note that C++ related files are the only ones that seem to suffer from this ...
Sasha, can you please check if it is a dup of #185447?
(In reply to comment #5) > The problems looks like there is something wrong with the cnd modules > adding/removing annotations. The AWT EDT is blocked on synchronization. Please > have a look and if you think that the problem is in the editor please assign > back. Please note that C++ related files are the only ones that seem to suffer > from this ... Difference is in file size. 50K lines is ordinary file size for C/C++ projects. Editor cannot support such files with reasonable speed. IMHO problem well known, see: Bug 149538 - low performance of Annotations.addAnnotation()
Are you saying that this is duplicate of 149538?
(In reply to comment #8) > Are you saying that this is duplicate of 149538? Yes sure, snap shot shot that EDT spends 2 second (from 2.5) in addAnnotatation. By the way method has a squared relationship of number of annotations.
Ok, I am marking this report as duplicate and will raise the priority of the older one. *** This bug has been marked as a duplicate of bug 149538 ***