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.
Type a character in Txt Editor [ ms ] / 100 ms Linux Solaris WinXP 1st usage 336 821 305 Subsequent usage 0 0 0
Created attachment 49227 [details] perf chart
Any chance for threaddumps showing what was going on in the IDE at that time? Thanks
this action is quite fast, I tried to get dump on Solaris but not sure if I'm successful. Also I've got 2 profiler snapshots on WinXP: for 1st and second pressing a keybutton. Hope this will help.
Created attachment 49465 [details] dump
Created attachment 49466 [details] profiler snapshots
Thanks for the threaddumps! The stacktrace in AWT-EventQueue-1 thread shows that cnd module is doing something when a file is marked as modified. Ovk, could you please try to measure this without C++ modules, if it makes any difference? I'm not sure if this deserves P2, but obviously it's a regression. Anyway, reassigning to cnd guys for further evaluation.
At this moment CND searches an interface in lookup; this interface resides in cnd core (org.netbeans.modules.cnd) module, which is pretty large (it consists of ~450 classes). Interfaces used (NativeFileItem, NativeFileItemSet, etc) are an API that worth separating into a different module. (We were going to do this, but weren't in time). I believe this will solve the issue.
separation was done. Seems problem was solved. I'm on Solaris and the first char typing is rather fast (as I see from profiler results the most time spent in cnd is 78ms on this phase). consider it as fixed.
within boundaries now.