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 209802 - code model should delay handling file events
Summary: code model should delay handling file events
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-03-20 16:46 UTC by Vladimir Voskresensky
Modified: 2012-12-29 10:14 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 Voskresensky 2012-03-20 16:46:59 UTC
DeepReparsing utils invalidate big set of related files on each file change event. It results in log cpu load activity, especially during clean&build or vcs activity from command line on systems with native file listeners where iconified NB receives file events.
Code Model should coalesce add/remove events as change events and try to do delayed but merged file change handling on set of added/removed/changed files to reduce number of DeepReparsing activities from N to 1 where N is number of affected files. It will reduce number of forced parsing activities from N to 1 as well
Comment 1 Alexander Simon 2012-12-29 06:01:17 UTC
Vladimir, Does the bug duplicate a bug #217776?
Comment 2 Vladimir Voskresensky 2012-12-29 10:14:55 UTC
no. This one is about merging DeepReparsing activities related to invalidation. Not it's ofthen multiple per-file activities while better to have one batch processing