Bug 460256 - [parser] Investigate incremental parsing
Summary: [parser] Investigate incremental parsing
Status: CLOSED WONTFIX
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: JS Tools (show other bugs)
Version: 8.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Michael Rennie CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2015-02-18 10:07 EST by Michael Rennie CLA
Modified: 2017-01-10 15:44 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2015-02-18 10:07:23 EST
Consider the following scenario:

1. you are working on the latest Esprima code base or in textView.js. (very large js files)
2. you forgot you turned on the setting 'automatically show content assist'
3. you haphazardly type 'this.' while deep in an Object / function
4. you sit back and wonder why your browser tab seems to have died.

Part of the reason for this is captured in bug 457402. The other part s that for each AST we create (for content assist especially) we also do a full inferencing pass. What we need is to calculate the affected source elements and only re-parse / re-infer those.
Comment 1 Michael Rennie CLA 2017-01-10 15:44:51 EST
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg04002.html