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 236080 - Delete works very slowly (remote Favorites)
Summary: Delete works very slowly (remote Favorites)
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 7.4
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-17 14:58 UTC by soldatov
Modified: 2014-01-22 22:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2013-09-17 14:58:18 UTC
Scenario:
- Add remote Solaris host
- Push Window|Services menu item
- Call context menu on "C/C++ Build Host|login@host" node
- Select "Add to Favorites|Other Folder..."
- Type path to your folder and press Add button
- Push Window|Services menu item
- Call context menu on "C/C++ Build Host|login@host" node
- Select "Open Terminal|Home Folder"
- Type "cd /path/to/your/folder" in terminal
- Create folder and 8 files:
mkdir folder1
cd folder1/
touch file1.c file2.c file3.c file4.c file5.c file6.c file7.c file8.c
- Open Favorites tab
- Call context menu on "folder1" node and select Delete
- Press Yes in Confirm Object Deletion window
==> NetBeans deletes folder for a 30 seconds (~3 seconds per file)
Comment 1 soldatov 2013-09-17 18:47:33 UTC
This problem exists if I use a remote USA host. And no delays if I use virtual host in VirtualBox. But on USA hosts Delete is dangerous action, because if folder contains 100 files and sub-folders, then I will miss 100 * 3 seconds.
Comment 2 soldatov 2013-09-17 19:01:11 UTC
If remote host is a virtual host on my local machine, then IDE deletes 1000 files for a 3 minutes (~0.18 seconds per file).
Comment 3 Quality Engineering 2013-12-26 02:35:44 UTC
Integrated into 'main-silver', will be available in build *201312260002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/fef391ff33d0
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixing #236080 - Delete works very slowly
Comment 4 Quality Engineering 2013-12-27 02:45:13 UTC
Integrated into 'main-silver', will be available in build *201312270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c52104bc2f83
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: added  'd' (delete) request (fixing #236080 	Delete works very slowly
Comment 5 Quality Engineering 2014-01-22 02:35:32 UTC
Integrated into 'main-silver', will be available in build *201401220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c76d3e7220f4
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixing #236080 - Delete works very slowly (remote Favorites)
Comment 6 Vladimir Kvashin 2014-01-22 22:38:28 UTC
hg.netbeans.org/cnd-main/rev/145341d3ec77
hg.netbeans.org/cnd-main/rev/af82e315f636
hg.netbeans.org/cnd-main/rev/c76d3e7220f4
hg.netbeans.org/cnd-main/rev/9021f3995f60
hg.netbeans.org/cnd-main/rev/c52104bc2f83
hg.netbeans.org/cnd-main/rev/912044cd5532
hg.netbeans.org/cnd-main/rev/fef391ff33d0

Now it's nearly 10 times faster.