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 89505 - Parsing project files to early slows down startup.
Summary: Parsing project files to early slows down startup.
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2006-11-16 19:24 UTC by Vladimir Kvashin
Modified: 2007-12-27 11:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2006-11-16 19:24:45 UTC
Now code model starts parsing project files just at the moment the project
opens. When IDE opens project(s) at startup, parsing starts beforw main window
is shown. This slows down startup time.
Comment 1 Vladimir Kvashin 2006-11-16 19:33:04 UTC
My (very row) estimations sowed that the difference in startup time is about 10%.
Comment 2 Alexander Simon 2007-05-30 15:56:07 UTC
fixed in development branch "grgich_hills"

CVS log:

Checking in platform/ModelSupport.java;
/shared/data/ccvs/repository/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/platform/ModelSupport.java,v
 <--  ModelSupport.java
new revision: 1.2.2.12.4.19.4.3; previous revision: 1.2.2.12.4.19.4.2
done
Checking in csm/core/ModelImpl.java;
/shared/data/ccvs/repository/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/csm/core/ModelImpl.java,v
 <--  ModelImpl.java
new revision: 1.2.2.26.2.32.4.5; previous revision: 1.2.2.26.2.32.4.4
done
Comment 3 Vladimir Voskresensky 2007-11-01 15:27:40 UTC
additional fix:
- postpone till UI is ready, not when first component is opened

cvs log:
Checking in ModelSupport.java;
/shared/data/ccvs/repository/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/platform/ModelSupport.java,v  <-- 
ModelSupport.java
new revision: 1.33; previous revision: 1.32
done
Comment 4 Vladimir Kvashin 2007-12-27 11:50:51 UTC
Verified - now parsing starts only after IDE finished starting up.