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

Summary: code model should delay handling file events
Product: cnd Reporter: Vladimir Voskresensky <vv159170>
Component: Code ModelAssignee: Vladimir Voskresensky <vv159170>
Status: NEW ---    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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