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.
Summary: | Optimize 'Background Scan' phase of the 'Open Project Group' action | ||
---|---|---|---|
Product: | projects | Reporter: | NukemBy |
Component: | Maven | Assignee: | Tomas Stupka <tstupka> |
Status: | NEW --- | ||
Severity: | normal | CC: | markiewb |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Windows 7 x64 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: |
OpenProjects+BgScan.npss
bgscan-CssIndexer$1-run-17800ms.png bgscan-QuerySupport-findRoots-17700ms.png bgscan-JavaCustomIndexer$Factory-scanStarted-7600ms.png bgscan-APTUtils-get-3500ms.png bgscan-IndexingSuport-isValid-2100ms.png bgscan-IndexingSuport-isValid-2100ms.png Switch+Project+Group-6mins.npss |
Description
NukemBy
2015-04-24 10:26:16 UTC
Created attachment 153357 [details]
bgscan-CssIndexer$1-run-17800ms.png
Created attachment 153358 [details]
bgscan-QuerySupport-findRoots-17700ms.png
Created attachment 153359 [details]
bgscan-JavaCustomIndexer$Factory-scanStarted-7600ms.png
Created attachment 153360 [details]
bgscan-APTUtils-get-3500ms.png
Created attachment 153361 [details]
bgscan-IndexingSuport-isValid-2100ms.png
One more thing * bgscan-IndexingSuport-isValid-2100ms.png Not sure what "isValid()" is doing, but it consumes 2 secs of CPU time. Seems too much for 'is' method. Created attachment 153362 [details]
bgscan-IndexingSuport-isValid-2100ms.png
Created attachment 153376 [details]
Switch+Project+Group-6mins.npss
One more use-case (around 6 minutes of total time) ... - Opened a project group (300 modules) - Attached to target JVM for debugging - Noticed that i'm using wrong Project Group - target JVM process is running from 'release' branch, while i opened 'dev' branch - Closed current 'dev' project group (set Project Group = none) ... 6 minutes start from here ... - Started opening 'release' project group (same 300 modules, but with slightly different sources) - Went away for coffee ... - ... returned in around 2 mins hoping to start working and got background scan at only around '40%' - Started Self profiler - bgscan progress bar was slowly going until 100% and after that (12:51:40 in selfprofiler) something was still bg-scanned without progressbar for around 50 seconds. Selfprofiler is attached - Switch+Project+Group-6mins.npss Did not try to dig deep this time. Just noticed that JsfCustomIndexer took around 80 seconds of CPU time. |