Community
Participate
Working Groups
Build Identifier: When working with big php file (>25k lines of code) it is noticeable that typing gets much slower and less smooth when Outline view is open. Also, closing Outline view on one perspective when it is still open on another one doesn’t improve typing performance. Only closing Outline view on all perspectives helps in this case. Reproducible: Always
Created attachment 209675 [details] PHPContentOutlineProvider performance improvement - patch Attached patch modifies PHPContentOutlineProvider class in a way that useStatements are now cached. The sourceModule is parsed only during first call to getChildren in main thread and it is updated later on every elementChangedEvent in non UI job. Typing gets smoother with Outline view open.
Created attachment 209677 [details] PHPStructuredEditor patch Small modification in PHPStructuredEditor: not updating Outline view if it is not visible on current perspective.
Created attachment 209699 [details] PHPContentOutlineProvider performance improvement - patch II Even better patch for PHPContentOutlineProvider. All AST operations should run in non UI thread on elementChanged event.
fixed by Natalia great work!
fixed by Natalia, great work!
Fix applied by Jacek.
Verified. Closing.