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 - Slow switching between project groups
Summary: Slow switching between project groups
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords: PERFORMANCE
Depends on: 198203
Blocks:
  Show dependency tree
 
Reported: 2014-11-17 10:24 UTC by Leperous
Modified: 2015-08-10 14:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE sample (41.60 KB, application/octet-stream)
2014-11-17 10:24 UTC, Leperous
Details

Note You need to log in before you can comment on or make changes to this bug.
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.