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: | Use VCS info to detect modified files | ||
---|---|---|---|
Product: | editor | Reporter: | Tomas Zezula <tzezula> |
Component: | Parsing & Indexing | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | jtulach, thurka |
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | TASK | Exception Reporter: | |
Attachments: |
Test implementation for ADE
Implementation of TreeStamp for ADE (works even when no label) |
Description
Tomas Zezula
2011-12-07 09:42:56 UTC
Implemented in the https://tzezula@hg.netbeans.org/prototypes/, branch treestamp-207232. The implementation with plugin for mercurial slows done up to date check 12 times. Tested on java.editor + deps: IDE without hg tree stamps: up to date check 28s IDE with hg tree stamps: up to date check 5 min : 48s Conclusion: Closing as it does not bring any performance benefit, at least for the only implemented plugin. There may be some benefit for ADE, so consider to reopen when ADE plugin will be done. Created attachment 117863 [details]
Test implementation for ADE
I've attached ADE TreeStamp implementation. It's just a prototype to allow as to measure behavior, it uses are describetrans to get the label and changes in label. Unfortunately it does not support changes among labels as I didn't found an ade command for this. Created attachment 117900 [details]
Implementation of TreeStamp for ADE (works even when no label)
Unfortunately even for ADE the up to date check time did not improve significantly. The problem is that the original actions were: crawler checks the time stamps followed by FU.addRecursiveListener which also crawls the same folders. Now the actions are replaced by ADE operation followed by FU.addRecursiveListener which has nearly the same time as FU.addRecursiveListener + Crawler.collectResource due to FS caching. (In reply to comment #4) > Created attachment 117900 [details] > Implementation of TreeStamp for ADE (works even when no label) I cannot work without label. You probably mean that it works without a transaction. Am I right? Yes. |