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.
This issue was reported manually by alexvsimon. It already has 3 duplicates Build: NetBeans IDE Dev (Build 20121030-622e5e0a98e9) VM: Java HotSpot(TM) Client VM, 20.8-b03, Java(TM) SE Runtime Environment, 1.6.0_33-b03 OS: SunOS User Comments: soldatov: call context menu Maximum slowness yet reported was 9547 ms, average is 6141
Created attachment 126868 [details] nps snapshot
*** Bug 218908 has been marked as a duplicate of this bug. ***
*** Bug 221202 has been marked as a duplicate of this bug. ***
git.getActions() seem to be at the root of the problem. please evaluate.
fix: http://hg.netbeans.org/core-main/rev/09dff0068f86
fixed slow menu reported in bug #221202, others are mainly caused by one single call to File.isFile() throughout all the versioning systems
all the remaining reports come from file.isFile() while it is unfortunate that the menu freezes and we could try to do the .isFile() evaluation outside of awt (to avoid the freeze) and until then manipulate the menu accordingly, the result would still be questionable - the user just can't use the menu action. We would just fix the freeze, not the availability of the needed functionality which _has_ to be backed by the info returned by .isFile(). so for now will consider this as a low priority until there is no valid reasoning that we aren't going to invest a lot of effort to handle something that is just one of the following: - a seldom glitch - a initial warmup case (and seldom) - a generally unusable setup - e.g. a slow nfs mount bringing the whole IDE on its knees. How is it even possible to work on a filesystem where already a file.isFile() call typically takes a couple of seconds? - either a hypothetical or artificially induced scenario
Integrated into 'main-golden', will be available in build *201211170002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/09dff0068f86 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #221187 - Slowness in VCS menu creation fixing slow menu reported in bug #221202
*** Bug 221190 has been marked as a duplicate of this bug. ***
up to 12 sec UI freeze. P4->P3
again, one call to java.io.File.exists(): 12579ms ??? See comment #7. Downgrading again.
(In reply to comment #11) > again, one call to java.io.File.exists(): 12579ms ??? See comment #7. > Downgrading again. Ondra, but it's reality :-) Shouldn't IDE be ready for that as well? Next week I'll be in Prague. Let's discuss this
Created attachment 130728 [details] EDT stacktrace No vcs functionality requested, just a context menu on a project.