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: | Task list indexer slow down indexing by 10% | ||
---|---|---|---|
Product: | platform | Reporter: | Tomas Zezula <tzezula> |
Component: | Action Items | Assignee: | Jan Peska <JPESKA> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anebuzelsky, JPESKA, jrechtacek |
Priority: | P2 | Keywords: | PERFORMANCE, PLAN |
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | TASK | Exception Reporter: | |
Attachments: | jpeska's patch |
Description
Tomas Zezula
2011-12-06 17:51:41 UTC
One performance upgrade - reduce number of calls Scope.isInScope() method. http://hg.netbeans.org/core-main/rev/7408c2cb5d41 Created attachment 115836 [details]
jpeska's patch
The patch speeds up scanning of Tasks ('TODOs'), before was patched, opening web.jsf NBM took 10.3% whole scanning time. After applying the patch scanning of Tasks takes only 0.1%. I propose apply the patch as it's and solve open issues of future of Tasks window after that. Thanks Honzo for the your patch. Any comments?
Honzo, please go ahead and integrate the patch into trunk. Thanks Integrated into 'main-golden', will be available in build *201202220400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/86810b239d7c User: Jan Peska <jpeska@netbeans.org> Log: Issue #206026 - Task list indexer slow down indexing by 10% default scope changed, indexing of the CurrentEditorScanningScope changed |