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.
While editing big files CPU usage about 30-50% (see attachments). Not only CC is slow, writing simple comment line or whatever causes CPU load about 20-30%. Of course, one shouldn't create such big files. See also Issue http://netbeans.org/bugzilla/show_bug.cgi?id=185714
Created attachment 103062 [details] thread dump
Created attachment 103063 [details] Example file
I have looked through the snapshot and it seems that the bulk of time was spent in the refreshing index. I will look at this more closely.
I have committed some improvements today for editing bigger files. It should be available in tomorrows build. Could you check it then? Thanks.
I'm cloing now this issue. Please reopen, if you think that it's not better. I have play with your example file and CPU usage was better during writing.
it is definitely better now! Thanks! Not sure if it is related #192775
Integrated into 'main-golden', will be available in build *201012070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/44271f6eb59d User: Petr Pisl <ppisl@netbeans.org> Log: #192097 - CPU usage about 30-50% in big file