You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolving packages is a major part of parse task that draws down the performance.
If the document uses some big packages that have many dependencies (e.g. tidyverse) or has long loading time, the resolving time (including starting a child R process and attaching the packages used in document) would be significant (more than 3s for tidyverse only).
It looks like resolving packages are completely unnecessary whenever there is no new package appearing in the document other than workspace has loaded (workspace$loaded_packages). Therefore, we could resolve only new packages when there is any, and avoid resolving packages whenever unnecessary.
Activity
[-]Unnecessary resolve on didOpen and didClose[/-][+]Unnecessary resolve on didOpen and didSave[/+]