-
Notifications
You must be signed in to change notification settings - Fork 27.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow to switch to/from tab with large collapsed section #32330
Comments
I think in this case a CPU profile would help: To create a CPU profile using developer tools in VS Code:
|
OK, here it is: |
@sandy081 I changed the code of restoreViewState to no longer rebuild the folded ranges. Looks like the settings default editor no longer requires that anyway. |
@aeschli Yes that was done to restore the folding state of default settings editor which is not the case anymore. |
Same problem here. Switching tabs and i think almost everything is having a slow response since a few days ago, My pc has an I7, 12GB RAB and SSD. Windows 10, 64. |
Steps to Reproduce:
npm install @types/lodash
a.ts
containing_.add(1, 2)
_
to get taken tonode_modules/@types/lodash/index.d.ts
declare namespace _
section, which spans nearly 20000 lines.a.ts
, then back toindex.d.ts
, repeat. It's noticeably slow. No issue if you uncollapse everything.The text was updated successfully, but these errors were encountered: