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 208986 - Tasklist greatly slows down NB project on IDE startup
Summary: Tasklist greatly slows down NB project on IDE startup
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Action Items (show other bugs)
Version: 7.2
Hardware: PC Linux
: P2 normal (vote)
Assignee: Jan Peska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-29 08:52 UTC by Svata Dedic
Modified: 2012-03-07 15:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot from the profiler (45.76 KB, image/png)
2012-02-29 08:52 UTC, Svata Dedic
Details
self-sampler snapshot (290.30 KB, application/octet-stream)
2012-02-29 08:52 UTC, Svata Dedic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 2012-02-29 08:52:03 UTC
Created attachment 116200 [details]
Screenshot from the profiler

Please see the attached screenshot (or the attached snapshot) from self-profiling of IDE start (Build 201202200400).
Tasklist consumes a lot of CPU power by using subproject queries. While user is not blocked from work (scan happens on background), the performance is greatly reduced. On my machine, NB start + scanning (just up-to-date checks!) takes about 30 minutes.
Comment 1 Svata Dedic 2012-02-29 08:52:28 UTC
Created attachment 116201 [details]
self-sampler snapshot
Comment 2 Jan Peska 2012-03-05 07:37:08 UTC
Unnecessary scope checks removed, it speeds up tasklist startup scanning. 

fix: http://hg.netbeans.org/core-main/rev/c68bfc457c82