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 vkvashin. It already has 1 duplicates Build: NetBeans IDE Dev (Build 20150128-8a10de61cfcf) VM: OpenJDK 64-Bit Server VM, 24.65-b04, OpenJDK Runtime Environment, 1.7.0_65-b32 OS: Linux User Comments: vkvashin: I expanded a folder on a remote host, selected several files and right clicked. UI was frozen for 35 seconds. Maximum slowness yet reported was 35891 ms, average is 35891
Created attachment 151716 [details] nps snapshot
P2 because UI freeze 600 seconds
Snapshot shows that the reason is in o.n.m.versioning.core.VersioningAnnotationProvider.actions() which calls o.n.m.versioning.core.VersioningAnnotationProvider.getOwner() in the UI thread. It's obvious that getOwner() can be slow on remote file system (as well as on local slow slow file system, such as /net/...) In particular, it calls VCSFileProxy.exists() and VCSFileProxy.isDirectory() several times.
The possible slowdown decreased multiple times after fixing of issue 248243 (Remote file system goes into directories it should not) and issue 251007 (Remote FS hangs for 5 minites on /ws/emu-patch if /ws/...)