Skip to content
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 startup #196771

Open
MatejC3 opened this issue Oct 26, 2023 · 8 comments
Open

Slow startup #196771

MatejC3 opened this issue Oct 26, 2023 · 8 comments
Assignees
Labels
freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues linux Issues with VS Code on Linux under-discussion Issue is under discussion for relevance, priority, approach

Comments

@MatejC3
Copy link

MatejC3 commented Oct 26, 2023

VSCode is starting up slow, I have all extensions disabled.
Thanks for help.

prof-GJjEdYT5.main.cpuprofile.txt
prof-GJjEdYT5.renderer.cpuprofile.txt
StartUpPerformance.md

@jrieken
Copy link
Member

jrieken commented Oct 27, 2023

| window.loadUrl() => begin to require(workbench.desktop.main.js) | 19207 | [main->renderer] | NewWindow

😱 20sec for opening the window

@MatejC3
Copy link
Author

MatejC3 commented Oct 27, 2023

Do you have any idea what could be the issue?

@tamuratak
Copy link
Contributor

Do you have McAfee antivirus installed? See #178962

@MatejC3
Copy link
Author

MatejC3 commented Oct 28, 2023

No i am not using any antivirus

@deepak1556 deepak1556 added the ~version-info-needed Issue requires version information from poster label Oct 30, 2023
@vscodenpa
Copy link

Thanks for creating this issue! We figured it's missing some basic information, such as a version number, or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.

Happy Coding!

@vscodenpa vscodenpa added info-needed Issue requires more information from poster and removed ~version-info-needed Issue requires version information from poster labels Oct 30, 2023
@deepak1556
Copy link
Collaborator

Also, can you get a runtime trace following the steps at #193948 (comment)

@MatejC3
Copy link
Author

MatejC3 commented Oct 30, 2023

Version of VSCode: 1.83.1
Here is trace file.
Launching VSCode with this trace arguments it took longer for window to appear, but once it appeared it launched quite quickly.

I uploaded file independently because its too large.

@deepak1556 deepak1556 added freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues linux Issues with VS Code on Linux under-discussion Issue is under discussion for relevance, priority, approach and removed info-needed Issue requires more information from poster labels Oct 31, 2023
@deepak1556
Copy link
Collaborator

Thanks for the trace, you are facing similar issue to #192493 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues linux Issues with VS Code on Linux under-discussion Issue is under discussion for relevance, priority, approach
Projects
None yet
Development

No branches or pull requests

6 participants