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 248686

Summary: Slow switching between project groups
Product: platform Reporter: Leperous
Component: FilesystemsAssignee: Jaroslav Havlin <jhavlin>
Status: RESOLVED FIXED    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 8.0.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 198203    
Bug Blocks:    
Attachments: IDE sample

Description Leperous 2014-11-17 10:24:30 UTC
Created attachment 150517 [details]
IDE sample

+++ This bug was initially created as a clone of Bug #198203 +++

Project group window often takes 5-10 seconds to open with a list of about 10 projects. This shouldn't take so long, especially since the popup only lists projects and no other metadata (this is what the 'properties' button is for!).

Note that none of the projects in the list have invalid POMs, and opening any one of them is very fast.
Comment 1 Tomas Stupka 2015-06-04 12:34:34 UTC
60 calls to io.File.GetCanonicalPath - 5s
not sure if there is anything to be done about it

please evaluate
Comment 2 Jaroslav Havlin 2015-08-10 14:50:33 UTC
Checking recursive symlinks involved file path normalization for MultiFileObjects and thus File.GetCanonicalPath.

The algorithm and API for detection of symbolic links has changed, so the performance should be improved in NetBeans 8.1.
http://hg.netbeans.org/core-main/rev/73dcdd1ec63b
See bug 237882.

Thank you for reporting.