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 219600 - Speed up find usages by using text index
Summary: Speed up find usages by using text index
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Egor Ushakov
URL:
Keywords:
: 109496 (view as bug list)
Depends on:
Blocks: 219896
  Show dependency tree
 
Reported: 2012-10-05 13:49 UTC by Egor Ushakov
Modified: 2012-12-18 11:46 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2012-10-05 13:49:35 UTC
Now if the object we're calling find usages for is rarely used we spend most of the time doing text search (which then may provide empty result). It is better to index files and then use this information for fast queries.
Comment 1 Quality Engineering 2012-10-06 02:02:29 UTC
Integrated into 'main-golden', will be available in build *201210060002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/1cc23336f5bc
User: Egor Ushakov <gorrus@netbeans.org>
Log: fixing #219600 - Speed up find usages by using text index:
- initial commit, few bugs to fix left
- turned off by default for now
Comment 2 Quality Engineering 2012-10-09 02:06:30 UTC
Integrated into 'main-golden', will be available in build *201210090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/bb7d15bc9115
User: Egor Ushakov <gorrus@netbeans.org>
Log: fixing #219600 - Speed up find usages by using text index:
- fixed file system directory path
- trying search for document update functionality
Comment 3 Quality Engineering 2012-10-10 03:06:49 UTC
Integrated into 'main-golden', will be available in build *201210100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/856a13987260
User: Egor Ushakov <gorrus@netbeans.org>
Log: fixing #219600 - Speed up find usages by using text index:
- dalayed store to decrease number of stores
- store on IDE close
Comment 4 Quality Engineering 2012-10-11 02:02:27 UTC
Integrated into 'main-golden', will be available in build *201210110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0334d3385599
User: Egor Ushakov <gorrus@netbeans.org>
Log: fixing #219600 - Speed up find usages by using text index:
- use only text indexing for now (no macro expansions)
Comment 5 Quality Engineering 2012-10-12 02:04:30 UTC
Integrated into 'main-golden', will be available in build *201210120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/66bcb00798fc
User: Egor Ushakov <gorrus@netbeans.org>
Log: extra fix for #219600 - Speed up find usages by using text index:
- index ID_DEFINED tokens
Comment 6 Alexander Simon 2012-12-18 11:46:48 UTC
*** Bug 109496 has been marked as a duplicate of this bug. ***