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.
Summary: | Slowness in VCS menu creation | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | Alexander Simon <alexvsimon> |
Component: | Code | Assignee: | Ondrej Vrabec <ovrabec> |
Status: | NEW --- | ||
Severity: | normal | CC: | alexvsimon, azizur, BeehivePete, git, issues, jtulach, soldatov |
Priority: | P4 | Keywords: | PERFORMANCE |
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 189218 |
Attachments: |
nps snapshot
EDT stacktrace |
Description
Alexander Simon
2012-10-31 14:50:44 UTC
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. 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.
|