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.
Created attachment 153350 [details] OpenProjects+BgScan.npss This is fork from that issues: https://netbeans.org/bugzilla/show_bug.cgi?id=250833 Use-case is: - Start empty NetBeans and switch to a Project Group ... - ... it contains large multi-module MAVEN project (300 modules, 7000 source files). - It takes 1.5 minute to open and I feel there is some space to improve performance. During 'Open Project Group' action there are two phases: 1. Open Projects - takes 45 seconds 2. Background Scan - takes 40 seconds This issue is about "phase 1" - "Open Projects". Attached is the full selfsampler for the whole action. First 45 seconds are relevant (with around 2 seconds at the beginning while I was clicking the right context menu). Things that I feel can be improved: * open-ClassPath-tostring-2600ms.png - toString() call taking 2600ms seems to be too lengthy * open-CopyResourcesOnSave-1700ms.png - not sure, looks to be too lengthy for that operation, but has very deep recursion * open-NbMavenProject-getPackagingType-23000ms.png --> open-DefaultArtifactDescriptorReader-readArtifactDescriptor-18500ms.png --> open-NbModelBuiler-build-17100ms.png These are the most heavy operations.
Created attachment 153351 [details] open-ClassPath-tostring-2600ms.png
Created attachment 153352 [details] open-CopyResourcesOnSave-1700ms.png
Created attachment 153353 [details] open-DefaultArtifactDescriptorReader-readArtifactDescriptor-18500ms.png
Created attachment 153354 [details] open-NbMavenProject-getPackagingType-23000ms.png
Created attachment 153355 [details] open-NbModelBuiler-build-17100ms.png