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.
low performance of code model events Code model events do not fit for model clients. Clients based on document/file are forced to listening of all events to filter events concerned document/file. It is a bad but not catastrophic. Worse situation on start up project/client. Clients are forced to detect initial state of document/file. It results in instantiate of all model files. See attached stack. Existing code model system fits only class view needs. Provide simple access to listening data/file object changes. P2 because issue blocks support of huge project like Open Solaris.
Created attachment 49213 [details] stack trace
The idea sounds quite reasonable. But this concerns mainly client inconvenience (I mean the inconvenience of writing client code) and probably small to moderate negative performance impact. I strongly believe it's rather an enhancement than a defect. (But I'm sure we should make this improvement in 6.x framework)
I think that issue was fixed?
fixed by introducing CsmTaskFactory engine which is responsible for listening of document events and converting all model clients to use it.