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.
Use case: Downloaded a new nightly build, started the IDE (folder-of-projects group, > 52 maven2 projects), started editing a few .java and .xml files. This is similar to #167199 in terms of phenomenon but posting it to a new issue to keep it separated. Product Version: NetBeans IDE Dev (Build 200906221401) Java: 1.6.0_14; Java HotSpot(TM) Server VM 14.0-b16 System: Linux version 2.6.28-13-generic running on i386; UTF-8; de_DE (nb) Userdir: /home/kr/.netbeans/dev-pre7
Created attachment 83909 [details] snapshot, image
Created attachment 83910 [details] snapshot, image
Created attachment 83911 [details] snapshot, binary
There's nothing from java.editor in the snapshot. Largest portion of time is spent in openide.nodes.Children.getNodes and client handler -- reassigning.
I do not see anything wrong. AWT thread is blocked for few hundred ms while node is expanding for the first time.
We should close this as WONTFIX imho.
Before closing as WONTFIX please wait for the user comments as to specifically what was slow. If he complains about project openning or project and package nodes expanding or ...? If the report is just that the Jarda's post mortem analyzer detected something slow in AWT thread we might check whether the explorer blocks tha AWT thread for too long. Please wait a second before closing this.
I really would enjoy providing more input on what exactly is slow here if I just knew where to look at the moment. For what I have seen right now, using very few projects ( 3..5, maven2 and/or java projects) opened in the IDE, things work reasonably fast. Having my project group opened at the moment however, it's slow, and it seems, by then, that everything is slow (opening files - .jsp, .java, .xml - in an editor, expanding project nodes in "Projects" view, ...), with the "system slowness..." message popping up rather frequently. It also happens in situations in which I just have NetBeans and my mail client opened so it's not just a matter of my machine running maxed-out. So, if I can provide any additional information on that, I would be glad to so so...
Removing the quotes in the issue summary and raising the priority, knowing that this will not persist for to long, however: Using NetBeans with my project group at the moment is not fun, actually it's nowhere near usable, no matter whether 6.7 or nightly build. Works fine in a small setup, having a couple (2 .. 10) projects opened, but right now, having our fifty-something maven2 projects, each of them with a decent set of dependencies, the IDE is next to unusable: - Opening the "Help" -> "About" box took about 10 secs just to put down the system information (see below). - Task-switching to the NetBeans IDE makes the window require 3 .. 5 seconds for the window to be repainted. - Expanding a project (clicking the icon in "Project") takes 5..15 seconds. - Expanding "Source packages" in a small maven2 project takes 5 .. 10 seconds. - Opening a rather simple Swing form in matisse takes around 15 seconds, closing it again takes 5 .. 10 seconds. - Right-clicking a project at the moment takes two seconds for the context menu (grey) to appear and two more seconds for its content to actually be displayed. - Opening a servlet class in java editor takes 5..10 seconds. - The dreaded "system slowness..." window merrily pops up, reporting slownesses between 1.5 .. 13 secs. Off-hand: I don't know what to do. If there is _any_ meaningful input I can provide on this issue (dedicated profiling results, ...), please _name_ it. At the moment, the IDE is unusable to me. :( Running applications: XFCE desktop (trimmed down), Firefox, Thunderbird, NetBeans Product Version: NetBeans IDE Dev (Build 200907161401) Java: 1.6.0_14; Java HotSpot(TM) Server VM 14.0-b16 System: Linux version 2.6.28-13-generic running on i386; UTF-8; de_DE (nb) Userdir: /home/kr/.netbeans/dev-pre7
Can you please provide few more snapshots or stack traces when AWT is blocked? I think it may help if DelegateChildren in org.netbeans.spi.project.ui.support.NodeFactorySupport would be asynchronous. Probably AWT is blocked in snapshot provided by waiting until addNotify() is finished in DelegateChildren. Milane, would it be possible to make this change?
The most valuable feedback is when you use the latest daily build from here: http://bits.netbeans.org/download/trunk/nightly/latest/ and whenever the annoying "slowness detected" thing pops up you actually click it and semi-automatically send the data (the .nps) file. As I can see only one .nps file attached to this issue I assume that your reports are being put into different issues or you don't click it ;-) The alternative way is to manually start the profiling of netbeans from the toolbar (the last icon in the toolbar), do the action that is slow, click the toolbar again to create the snapsot and attach the snapsot to the issue. But please create separate issue for different things that weree slow and to each of the issue write your approximate project structure like you wrote here (e.g. I have 50 maven projects opened etc.). We can do the testing ourselves provided that we have either your projects or similar setup - it would be very usefull if we could reproduce your problems locally. Are your projects private or can you share them (open source maybe)?
It could be probably done, but I'd be afraid of deadlocks. And I also doubt that it would help in this way too generic issue of "everything is slow".
The last attached NPS file is useless as it does not show at all what is the problem. Unless more detailed data are provided, there is nothing we can do about this issue.
thanks a bunch for your patience then and sorry for being too "generic", but at the moment honestly I don't know what kind of more detailed information I can provide except for reporting in which situations I experience "slowness". I have come to, by now, clicking and reporting every single appearance of the "system slowness..." report, gonna see where this takes me.
I've noticed a lot of reports by you recently. Thanks and welcome to performance team[1]! [1] http://wiki.netbeans.org/Fitness68PressRelease
Thanks... :) still not sure what kind of use my reports might have, as I sometimes just feel like "blindly clicking" on "report..." in these situations... hope it's worth something, at least. :)