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.

Bug 231164 - org.netbeans.modules.versioning.core.spi.VCSContext.forNodes: LowPerformance took 12839 ms.
Summary: org.netbeans.modules.versioning.core.spi.VCSContext.forNodes: LowPerformance ...
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 7.3.1
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2013-06-12 16:13 UTC by stefan79
Modified: 2013-06-18 14:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186595


Attachments
nps snapshot (167.47 KB, application/nps)
2013-06-12 16:13 UTC, stefan79
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stefan79 2013-06-12 16:13:51 UTC
Build: NetBeans IDE 7.3.1 RC (Build 201305162200)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Windows 7

User Comments:
GUEST: Lots of files in the Git changes view below the editing area (at least a few hundreds), right clicking to 'add' or commit and such seems to stall the whole thing for a while before showing the right-click menu.

Also it would seem that the latest daily build (0401) won't start up with the latest java update unless first loading a nightly build from a few days before and shutting that down before opening the most recent one (0400 will do)... very strange actually. After having loaded an earlier build i can successfully load the latest one until next reboot of the system.

stefan79: cvs - Update

GUEST: I had about 6000 files with status '-/Added' in changed files list. I marked all and then pressed the right mouse button for context menu.

GUEST: trying to upload files via ftp. i have noticed that with 7.2.1 the first time i try to ftp after opening it is VERY SLOW. 7.2 did not have this issue.



Maximum slowness yet reported was 184750 ms, average is 61078
Comment 1 stefan79 2013-06-12 16:13:55 UTC
Created attachment 135709 [details]
nps snapshot
Comment 2 Ondrej Vrabec 2013-06-17 11:07:44 UTC
i doubt it can be speeded up. I could probably move the call outside of EDT, but in that case there would be nothing in the popup menu until the work is finished so you would have to wait anyway.
Comment 3 Ondrej Vrabec 2013-06-17 14:56:57 UTC
fix: http://hg.netbeans.org/core-main/rev/a19481ec950f
Comment 4 Quality Engineering 2013-06-18 14:48:33 UTC
Integrated into 'main-golden', will be available in build *201306181109* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a19481ec950f
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #231164 - org.netbeans.modules.versioning.core.spi.VCSContext.forNodes: LowPerformance took 12839 ms.
initializing actions for the popup menu async in background