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

Calling spawn is very slow at times #24884

Closed
chrispyatfpng opened this issue Apr 17, 2017 · 11 comments
Closed

Calling spawn is very slow at times #24884

chrispyatfpng opened this issue Apr 17, 2017 · 11 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) perf perf-startup upstream Issue identified as 'upstream' component related (exists outside of VS Code) windows VS Code on Windows issues

Comments

@chrispyatfpng
Copy link

  • VSCode Version: Code 1.11.2 (6eaebe3, 2017-04-13T08:03:11.395Z)
    • Shell 1.4.6
    • Renderer 53.0.2785.143
    • Node 6.5.0
  • OS Version: Windows_NT ia32 6.1.7601
  • Extensions:
Extension Author Version
tslint eg2 0.12.0
theme-material-theme jprestidge 1.0.1
material-icon-theme PKief 2.0.3

Steps to Reproduce:

  1. Start VSCode.
  2. Before the left side pane is fully loaded open a recent project.

If the window remains open often it will never open any projects. Other times it stays a blank screen without any folders. Also tested this by disabling all the extensions above.

This seems to be a problem with the updated 1.11.x code. I didn't see this problem before.

@jrieken jrieken added the info-needed Issue requires more information from poster label Apr 18, 2017
@jrieken
Copy link
Member

jrieken commented Apr 18, 2017

@chrispyatfpng Can you run code with the --prof-startup flag and attach the profile here. Thanks

@jrieken
Copy link
Member

jrieken commented Apr 18, 2017

@chrispyatfpng Please attach as files because the comments gets cropped and also because there are two separate files

@jrieken
Copy link
Member

jrieken commented Apr 18, 2017

@chrispyatfpng Unsure how you try to attach those files but it isn't working... Just huge, tho incomplete, comments

@chrispyatfpng
Copy link
Author

Okay. Trying directly through github.

dac5_main.cpuprofile.txt
dac5_renderer.cpuprofile.txt

@jrieken
Copy link
Member

jrieken commented Apr 18, 2017

Thanks

@jrieken jrieken added perf upstream Issue identified as 'upstream' component related (exists outside of VS Code) windows VS Code on Windows issues and removed info-needed Issue requires more information from poster labels Apr 18, 2017
@jrieken
Copy link
Member

jrieken commented Apr 18, 2017

Spawning child processes seems very slow on your system. We have often heard that is coming from eager AV software...

screen shot 2017-04-18 at 17 08 47

@chrispyatfpng
Copy link
Author

I will do some tests with the AV. Knowing my system environment that could likely be the problem, and likely my problems are just coincidental with updating VSCode. Thank you for the assistance!

@jrieken jrieken changed the title New Window Slow to Load and Often Hangs Calling spawn very slow at times Jun 15, 2017
@jrieken jrieken changed the title Calling spawn very slow at times Calling spawn is very slow at times Jun 15, 2017
@jrieken
Copy link
Member

jrieken commented Nov 9, 2017

@chrispyatfpng Did you find out anything? Does this still happen? Does this happen on every start?

@sgtoj
Copy link

sgtoj commented Nov 22, 2017

I am experiencing the same issues. Although, node process message that debugger attached almost immediately, VS Codes takes a long time to connect. Additionally, sometimes the node process dies because of a Segmentation fault too.

  • app is in a docker container
  • container is FROM: node:8-alpine
  • node v8.9.1

@chrispyatfpng
Copy link
Author

I'm not seeing the extreme slow response and freeze as I was before. On occasion it is a little slow but that is common for apps on my older machine. I should be receiving a new machine in the next month and I will report back with an update.

@rzhao271
Copy link
Contributor

Closing this issue in favour of #56644, which also tracks slow startup issues on Windows.

@rzhao271 rzhao271 added the *duplicate Issue identified as a duplicate of another issue(s) label Jan 14, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Feb 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) perf perf-startup upstream Issue identified as 'upstream' component related (exists outside of VS Code) windows VS Code on Windows issues
Projects
None yet
Development

No branches or pull requests

5 participants